-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (35 loc) · 964 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (35 loc) · 964 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
version: '2'
services:
main:
image: puffinrocks/proxy
container_name: puffinxxxxproxy_main_1
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- certs_data:/etc/nginx/certs:ro
- vhost_data:/etc/nginx/vhost.d
- html_data:/usr/share/nginx/html
ports:
- "80:80"
- "443:443"
networks:
- front
tmpfs:
- /run
- /tmp
letsencrypt:
image: jrcs/letsencrypt-nginx-proxy-companion
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- certs_data:/etc/nginx/certs
- vhost_data:/etc/nginx/vhost.d
- html_data:/usr/share/nginx/html
environment:
- NGINX_PROXY_CONTAINER=puffinxxxxproxy_main_1
volumes:
certs_data:
vhost_data:
html_data:
networks:
front:
external:
name: "puffin_front"