Files
appstore/apps/trek/4.1.0/docker-compose.yml
T
okxlin 46a40f50d4 Update trek app
Rebuilt-from-PR: #6291
Source-PR: https://github.com/okxlin/appstore/pull/6291
Maintainer-workflow: appstore-pr-maintainer
2026-08-31 15:57:36 +08:00

49 lines
1.1 KiB
YAML

services:
trek:
image: "mauriceboe/trek:4.1.0@sha256:a651a2c67694262bf8692113e1681e8a93ec1d376d88ba47d48648a7ffd96679"
container_name: ${CONTAINER_NAME}
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
cap_add:
- CHOWN
- SETUID
- SETGID
tmpfs:
- /tmp:noexec,nosuid,size=64m
ports:
- "${PANEL_APP_PORT_HTTP}:3000"
environment:
- NODE_ENV=production
- PORT=3000
- ENCRYPTION_KEY=${ENCRYPTION_KEY:-}
- TZ=${TZ}
- LOG_LEVEL=${LOG_LEVEL}
- ALLOWED_ORIGINS=${ALLOWED_ORIGINS:-}
- ADMIN_EMAIL=${ADMIN_EMAIL:-}
- ADMIN_PASSWORD=${ADMIN_PASSWORD:-}
volumes:
- "${APP_DATA_DIR}:/app/data"
- "${APP_UPLOADS_DIR}:/app/uploads"
healthcheck:
test:
- CMD
- wget
- -qO-
- http://localhost:3000/api/health
interval: 30s
timeout: 10s
retries: 3
start_period: 15s
labels:
createdBy: Apps
networks:
- 1panel-network
restart: unless-stopped
networks:
1panel-network:
external: true