gistfile1.txt
· 566 B · Text
原始文件
services:
zoraxy:
image: zoraxydocker/zoraxy:latest
container_name: zoraxy
restart: unless-stopped
ports:
- 80:80
- 443:443
- 8000:8000
volumes:
- /volume1/docker/zoraxy/:/opt/zoraxy/config/
- /volume1/docker/zerotier:/var/lib/zerotier-one/
- /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime
environment:
FASTGEOIP: "true"
ZEROTIER: "true"
networks:
default:
ipv4_address: 192.168.1.x
networks:
default:
name: macvlan
external: true
1 | services: |
2 | zoraxy: |
3 | image: zoraxydocker/zoraxy:latest |
4 | container_name: zoraxy |
5 | restart: unless-stopped |
6 | ports: |
7 | - 80:80 |
8 | - 443:443 |
9 | - 8000:8000 |
10 | volumes: |
11 | - /volume1/docker/zoraxy/:/opt/zoraxy/config/ |
12 | - /volume1/docker/zerotier:/var/lib/zerotier-one/ |
13 | - /var/run/docker.sock:/var/run/docker.sock |
14 | - /etc/localtime:/etc/localtime |
15 | environment: |
16 | FASTGEOIP: "true" |
17 | ZEROTIER: "true" |
18 | networks: |
19 | default: |
20 | ipv4_address: 192.168.1.x |
21 | |
22 | networks: |
23 | default: |
24 | name: macvlan |
25 | external: true |