forked from webitdesign/docker-letsencrypt-cron
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (37 loc) · 882 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (37 loc) · 882 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
34
35
36
37
38
39
40
41
42
version: '3.3'
services:
letsencrypt: zokradonh/letsencrypt-cron
container_name: letsencrypt
volumes:
- certs:/etc/letsencrypt
- ./cert-config.yml:/le/certs.yml
networks:
- dockerproxy-net
ports:
- '80:80'
restart: always
dockerproxy: # only needed for container reloads
image: tecnativa/docker-socket-proxy
container_name: privileged_dockerproxy
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- dockerproxy-net
environment:
- ALLOW_RESTARTS=1
- POST=1
acmedns: # only needed for DNS-01 validation
image: joohoi/acme-dns
container_name: acme-dns-server
volumes:
- acmedata:/var/lib/acme-dns
- ./config:/etc/acme-dns
ports:
- 53:53/tcp
- 53:53/udp
volumes:
certs:
acmedata:
networks:
dockerproxy-net:
driver: bridge