appstore/apps/halo/2.18.0/docker-compose.yml
github-action update-app-version b4dae25116 Update app version [skip ci]
2024-08-02 04:15:21 +00:00

29 lines
821 B
YAML

services:
halo:
image: halohub/halo:2.18.0
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
volumes:
- ${DATA_PATH}:/root/.halo2
ports:
- ${PANEL_APP_PORT_HTTP}:8090
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8090/actuator/health/readiness" ]
interval: 30s
timeout: 5s
retries: 5
start_period: 30s
command:
- --spring.r2dbc.url=r2dbc:pool:postgresql://${POSTGRES_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}
- --spring.r2dbc.username=${PANEL_DB_USER}
- --spring.r2dbc.password=${PANEL_DB_USER_PASSWORD}
- --spring.sql.init.platform=postgresql
- --halo.external-url=${HALO_EXTERNAL_URL}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true