update
This commit is contained in:
parent
dd2cd5ad35
commit
1e992f23d0
@ -15,4 +15,4 @@ services:
|
||||
- "25565:25565"
|
||||
stdin_open: true
|
||||
tty: true
|
||||
mem_limit: 10G
|
||||
mem_limit: ${MAX_MEMORY}
|
||||
|
2
rxr_zerotier/.env
Normal file
2
rxr_zerotier/.env
Normal file
@ -0,0 +1,2 @@
|
||||
IP_ADDR4=x.x.x.x
|
||||
ZT_PLANET_PATH=/root/zerotier_planet
|
23
rxr_zerotier/docker-compose.yml
Normal file
23
rxr_zerotier/docker-compose.yml
Normal file
@ -0,0 +1,23 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
myztplanet:
|
||||
image: xubiaolin/zerotier-planet:latest
|
||||
container_name: ztplanet
|
||||
ports:
|
||||
- 9994:9994
|
||||
- 9994:9994/udp
|
||||
- 3443:3443
|
||||
- 3000:3000
|
||||
environment:
|
||||
- IP_ADDR4=${IP_ADDR4}
|
||||
- IP_ADDR6=
|
||||
- ZT_PORT=9994
|
||||
- API_PORT=3443
|
||||
- FILE_SERVER_PORT=3000
|
||||
volumes:
|
||||
- ${ZT_PLANET_PATH}/dist:/app/dist
|
||||
- ${ZT_PLANET_PATH}/ztncui:/app/ztncui
|
||||
- ${ZT_PLANET_PATH}/one:/var/lib/zerotier-one
|
||||
- ${ZT_PLANET_PATH}/config:/app/config
|
||||
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user