appstore-1panel/apps/halo/2.14.0/docker-compose.yml
renovate[bot] 89856cc6c5
chore(deps): update halohub/halo docker tag to v2.14.0 (#1191)
* chore(deps): update halohub/halo docker tag to v2.14.0

* Update app version [skip ci]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
2024-04-02 15:31:04 +08:00

30 lines
840 B
YAML

version: '3'
services:
halo:
image: halohub/halo:2.14.0
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
volumes:
- ./data:/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:${PANEL_DB_TYPE}://${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}
- --spring.r2dbc.username=${PANEL_DB_USER}
- --spring.r2dbc.password=${PANEL_DB_USER_PASSWORD}
- --spring.sql.init.platform=${PANEL_DB_TYPE}
- --halo.external-url=${HALO_EXTERNAL_URL}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true