-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (32 loc) · 802 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (32 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
version: '3'
services:
adguardhome:
container_name: adguardhome
image: adguard/adguardhome
restart: always
ports:
- 53:53/tcp
- 53:53/udp
- 3000:3000/tcp
volumes:
- ./adguardhome/work:/opt/adguardhome/work
- ./adguardhome/conf:/opt/adguardhome/conf
- /etc/localtime:/etc/localtime:ro
environment:
- TZ=Asia/Shanghai
- ADGUARDHOME_LISTENINGPORT=53
- ADGUARDHOME_PORT=3000
sniproxy:
container_name: sniproxy
build: ./sniproxy
image: sniproxy
restart: always
ports:
- 80:80/tcp
- 443:443/tcp
volumes:
- ./sniproxy/sniproxy.conf:/etc/sniproxy/sniproxy.conf
- ./sniproxy/logs:/var/log/sniproxy
- /etc/localtime:/etc/localtime:ro
environment:
- TZ=Asia/Shanghai