version: '3.4'
services:
platoo:
build: .
image: victorm/platoo:v1
environment:
user: platoo
host: postgresql
database: platoodb
password: s3cr3t
ports:
- "8080:8080"
postgresql:
image: postgres:9.6.18
POSTGRES_USER: platoo
POSTGRES_DB: platoodb
POSTGRES_PASSWORD: s3cr3t