Files
appstore/apps/serverkit/1.11.40/docker-compose.yml
T
29fdbcced1 Update jhd3197/serverkit Docker tag to v1.11.40 (#8989)
* Update jhd3197/serverkit Docker tag to v1.11.40

* Update app version [skip ci]

* fix(serverkit): run legacy volume migration for bind mount update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
Co-authored-by: okxlin <61420215+okxlin@users.noreply.github.com>
2026-11-15 04:45:42 +08:00

41 lines
1.1 KiB
YAML

services:
serverkit:
image: "jhd3197/serverkit:1.11.40"
container_name: ${CONTAINER_NAME}
ports:
- "${PANEL_APP_PORT_HTTP}:5000"
environment:
- "TZ=${TZ}"
- "DATABASE_URL=sqlite:////app/instance/serverkit.db"
- "FLASK_ENV=production"
- "SECRET_KEY=${SECRET_KEY}"
- "JWT_SECRET_KEY=${JWT_SECRET_KEY}"
- "SERVERKIT_ENCRYPTION_KEY=${SERVERKIT_ENCRYPTION_KEY}"
- "CORS_ORIGINS=${CORS_ORIGINS}"
- "SERVERKIT_PUBLIC_URL=${SERVERKIT_PUBLIC_URL:-}"
- "TRUST_PROXY_HEADERS=${TRUST_PROXY_HEADERS}"
- "TRUSTED_PROXY_HOPS=1"
- "SERVERKIT_GITHUB_REPO=jhd3197/ServerKit"
volumes:
- "./data:/app/instance"
networks:
- "1panel-network"
labels:
createdBy: "Apps"
restart: "unless-stopped"
healthcheck:
test: ["CMD-SHELL", "curl -f \"http://127.0.0.1:5000/api/v1/system/health\" || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
networks:
1panel-network:
external: true