2023-09-07 11:13:39 +00:00
|
|
|
## mysql
|
|
|
|
MYSQL_DATABASE=iotkit
|
|
|
|
MYSQL_ROOT_PASSWORD=123456
|
|
|
|
|
|
|
|
## server
|
2024-02-22 05:46:48 +00:00
|
|
|
JAVA_OPTS=-Xms512m -Xmx512m -Djava.security.egd=file:/dev/./urandom -DdisabledEmbeddedRedis=true
|
2023-09-07 11:13:39 +00:00
|
|
|
|
|
|
|
MASTER_DATASOURCE_URL=jdbc:mysql://iot-mysql:3306/${MYSQL_DATABASE}?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
|
|
|
|
MASTER_DATASOURCE_USERNAME=root
|
|
|
|
MASTER_DATASOURCE_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
|
|
|
SLAVE_DATASOURCE_URL=${MASTER_DATASOURCE_URL}
|
|
|
|
SLAVE_DATASOURCE_USERNAME=${MASTER_DATASOURCE_USERNAME}
|
|
|
|
SLAVE_DATASOURCE_PASSWORD=${MASTER_DATASOURCE_PASSWORD}
|
|
|
|
REDIS_HOST=iot-redis
|
|
|
|
|
|
|
|
## admin
|
|
|
|
NODE_ENV=production
|
|
|
|
PUBLIC_PATH=/
|
|
|
|
VUE_APP_TITLE=iot管理系统
|