# docker-compose.yml services: web: image: githubyumao/mcsmanager-web:latest ports: - "23333:23333" volumes: - /etc/localtime:/etc/localtime:ro - /web/data:/opt/mcsmanager/web/data - /web/logs:/opt/mcsmanager/web/logs daemon: image: githubyumao/mcsmanager-daemon:latest restart: unless-stopped network_mode: host # if you want run instance in daemon container # ports: # - "24444:24444" environment: - MCSM_DOCKER_WORKSPACE_PATH=/daemon/data/InstanceData volumes: - /etc/localtime:/etc/localtime:ro - /daemon/data:/opt/mcsmanager/daemon/data - /daemon/logs:/opt/mcsmanager/daemon/logs - /var/run/docker.sock:/var/run/docker.sock