2016-05-04 19:22:56 +02:00
|
|
|
version: '2'
|
|
|
|
|
|
|
|
services:
|
|
|
|
postgres:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile-postgres
|
|
|
|
environment:
|
|
|
|
POSTGRES_DB: oedb
|
|
|
|
POSTGRES_PASSWORD:
|
|
|
|
backend:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile-backend
|
|
|
|
ports:
|
|
|
|
- 8080:8080
|
|
|
|
environment:
|
|
|
|
DB_HOST: postgres
|
2016-05-07 10:59:57 +02:00
|
|
|
DB_USER: postgres
|
2016-05-04 19:22:56 +02:00
|
|
|
POSTGRES_PASSWORD:
|
|
|
|
volumes:
|
|
|
|
- .:/app/
|