23 lines
681 B
YAML
23 lines
681 B
YAML
|
services:
|
||
|
mc_web:
|
||
|
image: githubyumao/mcsmanager-web:latest
|
||
|
ports:
|
||
|
- "23333:23333"
|
||
|
volumes:
|
||
|
- /etc/localtime:/etc/localtime:ro
|
||
|
- $MC_PATH/web/data:/opt/mcsmanager/web/data
|
||
|
- $MC_PATH/web/logs:/opt/mcsmanager/web/logs
|
||
|
|
||
|
mc_daemon:
|
||
|
image: githubyumao/mcsmanager-daemon:latest
|
||
|
restart: unless-stopped
|
||
|
ports:
|
||
|
- "24444:24444"
|
||
|
environment:
|
||
|
- MCSM_DOCKER_WORKSPACE_PATH=$MC_PATH/daemon/data/InstanceData
|
||
|
volumes:
|
||
|
- /etc/localtime:/etc/localtime:ro
|
||
|
- $MC_PATH/daemon/data:/opt/mcsmanager/daemon/data
|
||
|
- $MC_PATH/daemon/logs:/opt/mcsmanager/daemon/logs
|
||
|
- /var/run/docker.sock:/var/run/docker.sock
|