mirror of
https://github.com/okxlin/appstore.git
synced 2026-09-24 16:01:02 +00:00
Package Resin 1.1.2 and latest with V1 authentication, persistent state, health checks, and localized metadata. Document the explicitly accepted vulnerabilities in the current upstream image.
33 lines
856 B
YAML
33 lines
856 B
YAML
services:
|
|
resin:
|
|
image: "ghcr.io/resinat/resin:latest"
|
|
container_name: ${CONTAINER_NAME}
|
|
restart: unless-stopped
|
|
environment:
|
|
- RESIN_AUTH_VERSION=V1
|
|
- RESIN_ADMIN_TOKEN=${RESIN_ADMIN_TOKEN}
|
|
- RESIN_PROXY_TOKEN=${RESIN_PROXY_TOKEN}
|
|
- RESIN_LISTEN_ADDRESS=0.0.0.0
|
|
- RESIN_PORT=2260
|
|
- TZ=${TZ}
|
|
ports:
|
|
- "${PANEL_APP_PORT_HTTP}:2260"
|
|
volumes:
|
|
- "${APP_DATA_DIR}/cache:/var/cache/resin"
|
|
- "${APP_DATA_DIR}/state:/var/lib/resin"
|
|
- "${APP_DATA_DIR}/log:/var/log/resin"
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:2260/healthz >/dev/null || exit 1"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 20s
|
|
labels:
|
|
createdBy: "Apps"
|
|
networks:
|
|
- 1panel-network
|
|
|
|
networks:
|
|
1panel-network:
|
|
external: true
|