-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
62 lines (58 loc) · 1.58 KB
/
Copy pathdocker-compose.yml
File metadata and controls
62 lines (58 loc) · 1.58 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
services:
letsencrypt-proxy:
container_name: letsencrypt-proxy
image: nginxproxy/nginx-proxy:alpine
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: 10m
max-file: 3
ports:
- ${SSL_AUTOMATATION_IP:-0.0.0.0}:80:80
- ${SSL_AUTOMATATION_IP:-0.0.0.0}:443:443
labels:
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
volumes:
- letsencrypt-vhost:/etc/nginx/vhost.d
- letsencrypt-certs:/etc/nginx/certs:ro
- letsencrypt-html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
networks:
- letsencrypt-proxy-tier
- letsencrypt-network
letsencrypt-companion:
container_name: letsencrypt-companion
image: nginxproxy/acme-companion
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: 10m
max-file: 3
depends_on:
- letsencrypt-proxy
volumes:
- letsencrypt-acme:/etc/acme.sh
- letsencrypt-vhost:/etc/nginx/vhost.d
- letsencrypt-certs:/etc/nginx/certs
- letsencrypt-html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- letsencrypt-proxy-tier
networks:
letsencrypt-proxy-tier:
name: letsencrypt-proxy-tier
driver: bridge
letsencrypt-network:
name: letsencrypt-network
driver: bridge
volumes:
letsencrypt-acme:
name: letsencrypt-acme
letsencrypt-vhost:
name: letsencrypt-vhost
letsencrypt-certs:
name: letsencrypt-certs
letsencrypt-html:
name: letsencrypt-html