2023-08-02 16:59:34 +08:00
|
|
|
services:
|
2023-08-02 23:29:35 +08:00
|
|
|
jumpserver:
|
2024-05-20 11:12:03 +08:00
|
|
|
image: jumpserver/jms_all:v3.10.10
|
2023-08-02 16:59:34 +08:00
|
|
|
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}
|
2023-08-02 23:29:35 +08:00
|
|
|
DB_HOST: ${PANEL_DB_HOST}
|
2023-09-04 16:16:20 +08:00
|
|
|
DB_PORT: ${PANEL_DB_PORT}
|
2023-08-02 23:29:35 +08:00
|
|
|
DB_USER: ${PANEL_DB_USER}
|
|
|
|
DB_PASSWORD: ${PANEL_DB_USER_PASSWORD}
|
|
|
|
DB_NAME: ${PANEL_DB_NAME}
|
2023-08-02 16:59:34 +08:00
|
|
|
REDIS_HOST: ${REDIS_HOST}
|
2023-08-02 23:29:35 +08:00
|
|
|
REDIS_PORT: 6379
|
2023-08-03 18:14:12 +08:00
|
|
|
REDIS_PASSWORD: ${PANEL_REDIS_ROOT_PASSWORD}
|
2023-08-02 16:59:34 +08:00
|
|
|
MAGNUS_MYSQL_PORT: ${MAGNUS_MYSQL_PORT}
|
|
|
|
MAGNUS_MARIADB_PORT: ${MAGNUS_MARIADB_PORT}
|
|
|
|
MAGNUS_REDIS_PORT: ${MAGNUS_REDIS_PORT}
|
2023-10-10 15:37:10 +08:00
|
|
|
DOMAINS: ${DOMAINS:-}
|
2023-08-02 16:59:34 +08:00
|
|
|
ports:
|
2023-08-02 23:29:35 +08:00
|
|
|
- ${PANEL_APP_PORT_HTTP}:80
|
2023-08-02 16:59:34 +08:00
|
|
|
- ${SSH_PORT}:2222
|
|
|
|
- ${MAGNUS_MYSQL_PORT}:33061
|
|
|
|
- ${MAGNUS_MARIADB_PORT}:33062
|
|
|
|
- ${MAGNUS_REDIS_PORT}:63790
|
|
|
|
volumes:
|
2024-04-12 12:09:08 +08:00
|
|
|
- ./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
|
2024-04-29 17:53:50 +08:00
|
|
|
- ./data/web/data/logs:/var/log/nginx
|
|
|
|
- ./data/web/data/download:/opt/download
|
2023-08-02 16:59:34 +08:00
|
|
|
networks:
|
|
|
|
- 1panel-network
|
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|