frankfurter/docker-compose.yml

18 lines
348 B
YAML
Raw Normal View History

version: '3'
2016-04-06 00:49:19 +02:00
services:
2016-04-11 15:28:22 +02:00
db:
2019-12-20 02:02:38 +01:00
image: postgres:11
volumes:
- data:/var/lib/postgresql/data
2016-04-11 15:28:22 +02:00
web:
2019-12-20 02:04:05 +01:00
command: bundle exec unicorn -c config/unicorn.rb
entrypoint: bin/wait-for-it.sh db:5432 -s --
2016-04-06 00:49:19 +02:00
environment:
2017-01-03 14:37:40 +01:00
DATABASE_URL: postgres://postgres@db/postgres
expose:
- '8080'
2017-01-03 14:37:40 +01:00
links:
2016-04-11 15:28:22 +02:00
- db
volumes:
data: