appstore-1panel/apps/jumpserver/3.10.9/docker-compose.yml
2024-04-29 17:53:50 +08:00

44 lines
1.3 KiB
YAML

services:
jumpserver:
image: jumpserver/jms_all:v3.10.9
container_name: ${CONTAINER_NAME}
privileged: true
restart: always
labels:
createdBy: "Apps"
environment:
SECRET_KEY: ${SECRET_KEY}
BOOTSTRAP_TOKEN: ${BOOTSTRAP_TOKEN}
DEBUG: ${DEBUG:-FALSE}
LOG_LEVEL: ${LOG_LEVEL}
DB_HOST: ${PANEL_DB_HOST}
DB_PORT: ${PANEL_DB_PORT}
DB_USER: ${PANEL_DB_USER}
DB_PASSWORD: ${PANEL_DB_USER_PASSWORD}
DB_NAME: ${PANEL_DB_NAME}
REDIS_HOST: ${REDIS_HOST}
REDIS_PORT: 6379
REDIS_PASSWORD: ${PANEL_REDIS_ROOT_PASSWORD}
MAGNUS_MYSQL_PORT: ${MAGNUS_MYSQL_PORT}
MAGNUS_MARIADB_PORT: ${MAGNUS_MARIADB_PORT}
MAGNUS_REDIS_PORT: ${MAGNUS_REDIS_PORT}
DOMAINS: ${DOMAINS:-}
ports:
- ${PANEL_APP_PORT_HTTP}:80
- ${SSH_PORT}:2222
- ${MAGNUS_MYSQL_PORT}:33061
- ${MAGNUS_MARIADB_PORT}:33062
- ${MAGNUS_REDIS_PORT}:63790
volumes:
- ./data/core/data:/opt/jumpserver/data
- ./data/koko/data:/opt/koko/data
- ./data/lion/data:/opt/lion/data
- ./data/chen/data:/opt/chen/data
- ./data/kael/data:/opt/kael/data
- ./data/web/data/logs:/var/log/nginx
- ./data/web/data/download:/opt/download
networks:
- 1panel-network
networks:
1panel-network:
external: true