frankfurter/docker-compose.yml
2016-04-11 14:40:44 +01:00

18 lines
275 B
YAML

version: '2'
services:
db:
image: postgres
ports:
- 5432:5432
web:
build: .
volumes:
- .:/app
ports:
- 8080:8080
environment:
- RACK_ENV=production
- DATABASE_URL=postgres://postgres@db/postgres
links:
- db