Files
appstore/apps/trailbase/latest/docker-compose.yml
T
2026-07-31 02:14:33 +08:00

32 lines
665 B
YAML

services:
trail:
image: "trailbase/trailbase:latest"
container_name: ${CONTAINER_NAME}
restart: unless-stopped
ports:
- "${PANEL_APP_PORT_HTTP}:4000"
environment:
- RUST_BACKTRACE=1
volumes:
- "${APP_DATA_DIR}:/app/traildepot"
healthcheck:
test:
- CMD-SHELL
- curl --fail http://localhost:4000/api/healthcheck || exit 1
interval: 30s
timeout: 5s
retries: 5
start_period: 15s
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
networks:
- 1panel-network
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true