1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-18 02:11:04 +08:00
1Panel-Appstore/apps/upsnap/latest/docker-compose.yml
pooneyy 7ff35caf28
🔧 chore(apps): set the pull policy for all services using fixed tag images
- add `pull_policy: always` to all service definitions across all docker-compose files
- ensure consistent image update behavior for all applications
- maintain existing network configurations and external network settings
- preserve all other service configurations and environment variables
2025-11-10 16:10:24 +08:00

26 lines
805 B
YAML

services:
upsnap:
image: "seriousm4x/upsnap:latest"
pull_policy: always
container_name: ${CONTAINER_NAME}
network_mode: host
restart: always
volumes:
- ${DATA_PATH}:/app/pb_data
environment:
- TZ=${TIME_ZONE}
- UPSNAP_INTERVAL=${UPSNAP_INTERVAL}
- UPSNAP_SCAN_RANGE=${UPSNAP_SCAN_RANGE}
- UPSNAP_SCAN_TIMEOUT=${UPSNAP_SCAN_TIMEOUT}
- UPSNAP_PING_PRIVILEGED=${UPSNAP_PING_PRIVILEGED}
- UPSNAP_WEBSITE_TITLE=${UPSNAP_WEBSITE_TITLE}
healthcheck:
test: curl -fs "http://localhost:${PANEL_APP_PORT_HTTP}/api/health" || exit 1
interval: 10s
dns:
- ${DNS_SERVER_1}
- ${DNS_SERVER_2}
entrypoint: /bin/sh -c "./upsnap serve --http ${LISTEN_ADDR}:${PANEL_APP_PORT_HTTP}"
labels:
createdBy: "Apps"