frankfurter/docker-compose.yml

16 lines
251 B
YAML
Raw Normal View History

2016-04-06 00:49:19 +02:00
version: '2'
services:
2016-04-11 15:28:22 +02:00
db:
2016-04-06 00:49:19 +02:00
image: postgres
2016-04-11 15:28:22 +02:00
web:
2016-04-06 00:49:19 +02:00
build: .
volumes:
2016-04-11 15:28:22 +02:00
- .:/app
2016-04-06 00:49:19 +02:00
ports:
- 8080:8080
environment:
- RACK_ENV=production
2016-04-11 15:28:22 +02:00
- DATABASE_URL=postgres://postgres@db/postgres
2016-04-12 15:57:20 +02:00
depends_on:
2016-04-11 15:28:22 +02:00
- db