# JumpServer database persistence directory, by default, recordings, task logs are in this directory
21
# Please modify according to the actual situation, the database file (.sql) and configuration file backed up during the upgrade will also be saved to this directory
22
#
23
VOLUME_DIR=/data/jumpserver
24
25
# Encryption key, please ensure that SECRET_KEY is consistent with the old environment when migrating, do not use special strings
26
# (*) Warning: Keep this value secret.
27
# (*) Do not disclose SECRET_KEY to anyone
28
#
29
SECRET_KEY=
30
31
# The token used by the component to register with core, please keep BOOTSTRAP_TOKEN consistent with the old environment when migrating,
32
# Do not use special strings
33
# (*) Warning: Keep this value secret.
34
# (*) Do not disclose BOOTSTRAP_TOKEN to anyone
35
#
36
BOOTSTRAP_TOKEN=
37
38
# Log level INFO, WARN, ERROR
39
#
40
LOG_LEVEL=ERROR
41
42
# The network segment used by the JumpServer container, please do not conflict with the existing network, modify according to the actual situation
43
#
44
DOCKER_SUBNET=192.168.250.0/24
45
46
# ipv6 nat, no need to enable under normal circumstances
47
# If the host does not support ipv6, enabling this option will prevent the real client ip address from being obtained
48
#
49
USE_IPV6=0
50
DOCKER_SUBNET_IPV6=fc00:1010:1111:200::/64
51
52
################################# DB Configuration ####################################
53
# For external databases, you need to enter the correct database information, the system will automatically handle the built-in database
54
# (*) The password part must not contain single quotes and double quotes
55
#
56
DB_ENGINE=postgresql
57
DB_HOST=postgresql
58
DB_PORT=5432
59
DB_USER=postgres
60
DB_PASSWORD=
61
DB_NAME=jumpserver
62
63
# If external MySQL needs to enable TLS/SSL connection, refer to https://docs.jumpserver.org/zh/v3/installation/security_setup/mysql_ssl/
# Configure the components that do not need to be started, by default all components will be started, if you do not need a certain component, you can set {component name}_ENABLED to 0 to turn it off
125
# CORE_ENABLED=0
126
# CELERY_ENABLED=0
127
# KOKO_ENABLED=0
128
# LION_ENABLED=0
129
# CHEN_ENABLED=0
130
# WEB_ENABLED=0
131
132
# Lion enables font smoothing to optimize the experience