Add docker compose file
This commit is contained in:
parent
77a1d532e5
commit
36c901a894
1 changed files with 22 additions and 0 deletions
22
docker-compose.yml
Normal file
22
docker-compose.yml
Normal 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
|
||||||
|
|
Loading…
Reference in a new issue