Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- db:
- image: postgres
- env_file: &environment
- - .env
- web:
- image: angarsk8/todo_app
- command: bash -c "sleep 15 && _build/prod/rel/todo_app/bin/todo_app foreground"
- env_file: *environment
- ports:
- - "80:8080"
- depends_on:
- - migration
- links:
- - db
- migration:
- image: angarsk8/todo_app
- command: bash -c "sleep 10 && mix ecto.setup"
- env_file: *environment
- links:
- - db
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement