1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-12 11:14:57 +02:00
dockerfiles/optaweb-employee-rostering/docker-compose.yml
2019-12-09 15:46:47 +08:00

26 lines
519 B
YAML

version: "3.7"
services:
optaweb:
image: vimagick/optaweb-employee-rostering
ports:
- "8080:8080"
environment:
- POSTGRES_DB=optaweb
- POSTGRES_USER=optaweb
- POSTGRES_PASSWORD=optaweb
depends_on:
- postgres
restart: unless-stopped
postgres:
image: postgres:12-alpine
volumes:
- ./data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=optaweb
- POSTGRES_USER=optaweb
- POSTGRES_PASSWORD=optaweb
restart: unless-stopped