Files
appstore-1panel/apps/mx-space-db/9.0.0/docker-compose.yml
renovate[bot]GitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>github-action update-app-version
c28f3c00f1 chore(deps): update innei/mx-server docker tag to v9 (#4396)
* chore(deps): update innei/mx-server docker tag to v9

* Update app version [skip ci]

* Update app version [skip ci]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
2026-01-26 10:45:45 +08:00

50 lines
1.1 KiB
YAML

networks:
1panel-network:
external: true
services:
mx-server:
image: innei/mx-server:9.0.0
depends_on:
- mx-mongo
- mx-redis
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:2333
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${MX_SERVER_ROOT_PATH}/data:/root/.mx-space
environment:
- TZ=Asia/Shanghai
- PORT=2333
- DEMO=false
- NODE_ENV=production
- ENCRYPT_ENABLE=false
- DB_HOST=mx-mongo
- REDIS_HOST=mx-redis
mx-mongo:
image: mongo
container_name: mongo-${CONTAINER_NAME}
volumes:
- ${MX_SERVER_ROOT_PATH}/db:/data/db
networks:
- 1panel-network
restart: always
mx-redis:
image: redis:alpine
container_name: redis-${CONTAINER_NAME}
volumes:
- ${MX_SERVER_ROOT_PATH}/redis:/data
networks:
- 1panel-network
restart: always