feat:添加wireguard到列表
This commit is contained in:
35
apps/wireguard/latest/docker-compose.yml
Normal file
35
apps/wireguard/latest/docker-compose.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
services:
|
||||
wireguard:
|
||||
image: "linuxserver/wireguard:latest"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${SERVERPORT}:${SERVERPORT}/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
|
||||
Reference in New Issue
Block a user