1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:02 +02:00
dockerfiles/optaweb-employee-rostering/docker-compose.yml

26 lines
519 B
YAML
Raw Normal View History

2020-06-02 12:48:28 +02:00
version: "3.8"
2019-12-09 09:46:47 +02:00
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