mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-15 18:21:55 +08:00
33 lines
855 B
YAML
33 lines
855 B
YAML
|
services:
|
||
|
jumpserver:
|
||
|
image: jumpserver/jms_all:v4.2.0
|
||
|
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_ENGINE: ${DB_ENGINE}
|
||
|
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}
|
||
|
DOMAINS: ${DOMAINS:-}
|
||
|
ports:
|
||
|
- ${PANEL_APP_PORT_HTTP}:80
|
||
|
- ${SSH_PORT}:2222
|
||
|
volumes:
|
||
|
- ./data/:/opt/data
|
||
|
networks:
|
||
|
- 1panel-network
|
||
|
networks:
|
||
|
1panel-network:
|
||
|
external: true
|