-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
39 lines (37 loc) · 913 Bytes
/
compose.yml
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
34
35
36
37
38
39
services:
npm:
image: manjieqi/nginx-proxy-manager
container_name: npm
restart: unless-stopped
depends_on:
- geoip2
ports:
- 0.0.0.0:80:80
- 0.0.0.0:443:443
- 0.0.0.0:81:81
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
environment:
- TZ=Asia/Shanghai
- DISABLE_IPV6=true
networks:
- nginx
geoip2:
image: maxmindinc/geoipupdate
container_name: geoip2
restart: unless-stopped
volumes:
- ./data/geoip2:/usr/share/GeoIP
environment:
- TZ=Asia/Shanghai
- GEOIPUPDATE_ACCOUNT_ID=******
- GEOIPUPDATE_LICENSE_KEY=****************************************
- 'GEOIPUPDATE_EDITION_IDS=GeoLite2-City GeoLite2-Country GeoLite2-ASN'
- GEOIPUPDATE_FREQUENCY=24
- GEOIPUPDATE_PRESERVE_FILE_TIMES=1
networks:
- nginx
networks:
nginx:
external: true