1
0

feat:添加warp-docker到列表

This commit is contained in:
okxlin
2024-05-18 14:17:29 +08:00
parent ec7d12b251
commit 9ede44f8ff
6 changed files with 94 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
version: '3'
services:
warp:
image: caomingjun/warp:latest
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- '${PANEL_APP_PORT_HTTP}:1080'
environment:
- WARP_SLEEP=${WARP_SLEEP}
- WARP_LICENSE_KEY=${WARP_LICENSE_KEY}
cap_add:
- NET_ADMIN
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
- net.ipv4.conf.all.src_valid_mark=1
volumes:
- '${DATA_PATH}:/var/lib/cloudflare-warp'
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true