Files
appstore/apps/trek/4.2.1/docker-compose.yml
T

49 lines
1.1 KiB
YAML

services:
trek:
image: "mauriceboe/trek:4.2.1@sha256:777f4d647e973fe7d87fecd957e854b86d57e8d977fd041763e0ca19b3c2e2c0"
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