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
2020-06-02 18:48:28 +08:00

26 lines
519 B
YAML

version: "3.8"
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