frankfurter/docker-compose.yml
2016-04-12 14:57:20 +01:00

16 lines
251 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
depends_on:
- db