Add docker stuff
This commit is contained in:
parent
004088d3fb
commit
430e2ca814
6 changed files with 85 additions and 0 deletions
29
docker-compose.yml
Normal file
29
docker-compose.yml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
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
|
||||
Loading…
Reference in a new issue