Add docker compose file

This commit is contained in:
Quentin 2020-05-23 09:58:29 +02:00
parent 77a1d532e5
commit 36c901a894

22
docker-compose.yml Normal file
View file

@ -0,0 +1,22 @@
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