mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-12-16 03:12:21 +08:00
24 lines
676 B
YAML
24 lines
676 B
YAML
|
networks:
|
||
|
1panel-network:
|
||
|
external: true
|
||
|
services:
|
||
|
halo:
|
||
|
command:
|
||
|
- --spring.r2dbc.url=r2dbc:pool:${DB_TYPE}://${DB_HOSTNAME}:${DB_PORT}/${DB_NAME}
|
||
|
- --spring.r2dbc.username=${DB_USER}
|
||
|
- --spring.r2dbc.password=${DB_USER_PASSWORD}
|
||
|
- --spring.sql.init.platform=${DB_TYPE}
|
||
|
- --halo.external-url=${HALO_EXTERNAL_URL}
|
||
|
- --halo.security.remember-me.token-validity=${HALO_REMEMBER_ME_TOKEN_VALIDITY}
|
||
|
container_name: halo
|
||
|
image: halohub/halo:2.20.10
|
||
|
labels:
|
||
|
createdBy: Apps
|
||
|
networks:
|
||
|
- 1panel-network
|
||
|
ports:
|
||
|
- ${PANEL_APP_PORT_HTTP}:8090
|
||
|
restart: always
|
||
|
volumes:
|
||
|
- ${HALO_ROOT_PATH}/data:/root/.halo2
|