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