frankfurter/docker-compose.yml
2017-01-10 12:21:19 +00:00

16 lines
244 B
YAML

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