mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-10-29 23:32:35 +01:00
18 lines
275 B
YAML
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
|