1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-18 18:01:03 +08:00
1Panel-Appstore/apps/wireguard/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

37 lines
865 B
YAML

services:
wireguard:
image: "linuxserver/wireguard:latest"
pull_policy: always
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${SERVERPORT}:51820/udp"
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TIME_ZONE}
- SERVERURL=${SERVERURL}
- SERVERPORT=${SERVERPORT}
- PEERS=${PEERS}
- PEERDNS=${PEERDNS}
- INTERNAL_SUBNET=${INTERNAL_SUBNET}
- ALLOWEDIPS=${ALLOWEDIPS}
- PERSISTENTKEEPALIVE_PEERS=${PERSISTENTKEEPALIVE_PEERS}
- LOG_CONFS=${LOG_CONFS}
volumes:
- ${CONFIG_PATH}:/config
- /lib/modules:/lib/modules
cap_add:
- NET_ADMIN
- SYS_MODULE
sysctls:
net.ipv4.conf.all.src_valid_mark: "1"
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true