appstore-1panel/apps/topiam-ce/2.0.0/docker-compose.yml
Meng Sen f79ef7c15b 发布应用:Topiam
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
2024-12-02 17:37:49 +08:00

29 lines
1.0 KiB
YAML

networks:
1panel-network:
external: true
services:
topiam-ce:
image: registry.cn-hangzhou.aliyuncs.com/topiam/topiam-ce:2.0.0
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:1898
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${TOPIAM_CE_ROOT_PATH}/logs:/opt/topiam/logs
environment:
- spring.datasource.url=jdbc:mysql://${DB_HOST}:${DB_PORT}/${DB_NAME}?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true
- spring.datasource.username=${DB_USER}
- spring.datasource.password=${DB_USER_PASSWORD}
- spring.data.redis.host=${REDIS_HOSTNAME}
- spring.data.redis.port=${REDIS_PORT}
- spring.data.redis.password=${REDIS_PASSWORD}
- spring.data.redis.database=${REDIS_DBINDEX}