forked from tanneo/instapy-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.ssl.yml
More file actions
38 lines (37 loc) · 902 Bytes
/
docker-compose.ssl.yml
File metadata and controls
38 lines (37 loc) · 902 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
version: '3'
services:
proxy:
image: jwilder/nginx-proxy:alpine
restart: unless-stopped
network_mode: bridge
ports:
- 80:80
- 443:443
volumes:
- dhparam:/etc/nginx/dhparam
- vhost:/etc/nginx/vhost.d
- conf:/etc/nginx/conf.f
- html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
- certs:/etc/nginx/certs
labels:
- "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy"
letsencrypt:
image: jrcs/letsencrypt-nginx-proxy-companion
network_mode: bridge
environment:
- DEFAULT_EMAIL=hi@felixbreuer.me
volumes:
- vhost:/etc/nginx/vhost.d
- conf:/etc/nginx/conf.f
- html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
- certs:/etc/nginx/certs
depends_on:
- proxy
volumes:
certs:
dhparam:
vhost:
conf:
html: