appstore-1panel/apps/halo/2.20.11/docker-compose.yml
github-action update-app-version a98996352d Update app version [skip ci]
2024-12-04 14:16:37 +00:00

25 lines
710 B
YAML

networks:
1panel-network:
external: true
services:
halo:
image: halohub/halo:2.20.11
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
volumes:
- ${HALO_ROOT_PATH}/data:/root/.halo2
ports:
- ${PANEL_APP_PORT_HTTP}:8090
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}