mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-25 04:22:28 +01:00
16 lines
251 B
YAML
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
|