-
Notifications
You must be signed in to change notification settings - Fork 662
/
docker-compose.prod.yml
45 lines (39 loc) · 1.08 KB
/
docker-compose.prod.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
40
41
42
43
44
45
version: "3"
services:
django:
volumes:
- assets:/code/staticfiles
elm:
volumes:
- assets:/code/jarbas/layers/static
logging:
command: ["syslog+tls://logs2.papertrailapp.com:54868"]
image: gliderlabs/logspout
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
nginx-letsencrypt:
image: jrcs/letsencrypt-nginx-proxy-companion
restart: always
volumes:
- /var/run/certs:/etc/nginx/certs:rw
- /var/run/conf.d:/etc/nginx/conf.d
- /var/run/docker.sock:/var/run/docker.sock:ro
- /var/run/html:/usr/share/nginx/html
- /var/run/vhost.d:/etc/nginx/vhost.d
nginx-proxy:
image: jwilder/nginx-proxy
labels:
- "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy"
ports:
- "80:80"
- "443:443"
restart: always
volumes:
- /var/run/certs:/etc/nginx/certs:rw
- /var/run/conf.d:/etc/nginx/conf.d
- /var/run/docker.sock:/tmp/docker.sock:ro
- /var/run/html:/usr/share/nginx/html
- /var/run/vhost.d:/etc/nginx/vhost.d
volumes:
assets: