workspace/docker-compose.yml

30 lines
985 B
YAML
Raw Normal View History

2024-12-26 01:49:11 +00:00
services:
core:
image: registry.serguzim.me/emgauwa/combi
command: /usr/bin/emgauwa-core
ports:
- "4419:4419"
environment:
EMGAUWA_CORE__SERVER__HOST: 0.0.0.0
EMGAUWA_CORE__DATABASE: sqlite:///data/core.sqlite
volumes:
- ./docker-data:/data
controller1:
image: registry.serguzim.me/emgauwa/combi
command: /usr/bin/emgauwa-controller
environment:
EMGAUWA_CONTROLLER__SERVER__HOST: core
EMGAUWA_CONTROLLER__DATABASE: sqlite:///data/controller1.sqlite
volumes:
- ./controller/emgauwa-controller.json:/etc/emgauwa/controller.json
- ./docker-data:/data
controller2:
image: registry.serguzim.me/emgauwa/combi
command: /usr/bin/emgauwa-controller
environment:
EMGAUWA_CONTROLLER__SERVER__HOST: core
EMGAUWA_CONTROLLER__DATABASE: sqlite:///data/controller2.sqlite
volumes:
- ./controller/emgauwa-controller.json:/etc/emgauwa/controller.json
- ./docker-data:/data