mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-12-13 02:22:23 +08:00
30 lines
1.0 KiB
YAML
30 lines
1.0 KiB
YAML
|
networks:
|
||
|
1panel-network:
|
||
|
external: true
|
||
|
services:
|
||
|
topiam-ce:
|
||
|
container_name: topiam-ce
|
||
|
env_file:
|
||
|
- ./envs/global.env
|
||
|
- .env
|
||
|
environment:
|
||
|
- INITIAL_PASSWORD_VALUE=ADMIN_PASSWORD
|
||
|
- 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}
|
||
|
image: registry.cn-hangzhou.aliyuncs.com/topiam/topiam-ce:2.0.0
|
||
|
labels:
|
||
|
createdBy: Apps
|
||
|
networks:
|
||
|
- 1panel-network
|
||
|
ports:
|
||
|
- ${PANEL_APP_PORT_HTTP}:1898
|
||
|
restart: always
|
||
|
volumes:
|
||
|
- ${TOPIAM_CE_ROOT_PATH}/conf:/opt/topiam/conf
|
||
|
- ${TOPIAM_CE_ROOT_PATH}/logs:/opt/topiam/logs
|