30 lines
985 B
YAML
30 lines
985 B
YAML
|
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
|