-
Notifications
You must be signed in to change notification settings - Fork 198
/
Copy pathdocker-compose.prod.yml
53 lines (53 loc) · 1.24 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
46
47
48
49
50
51
52
53
version: '3'
services:
db:
restart: unless-stopped
web:
env_file: .env
image: hakanensari/fixer
logging:
options:
max-size: "50m"
max-file: "10"
restart: unless-stopped
scheduler:
env_file: .env
image: hakanensari/fixer
logging:
options:
max-size: "50m"
max-file: "10"
restart: unless-stopped
nginx-proxy:
image: jwilder/nginx-proxy
labels:
- "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy=true"
logging:
options:
max-size: "50m"
max-file: "10"
ports:
- "80:80"
- "443:443"
restart: unless-stopped
volumes:
- /etc/nginx/conf.d
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./limit_req.conf:/etc/nginx/conf.d/limit_req.conf:ro
- certs:/etc/nginx/certs:ro
- html:/usr/share/nginx/html
- vhost.d:/etc/nginx/vhost.d
letsencrypt-nginx-proxy-companion:
image: jrcs/letsencrypt-nginx-proxy-companion
depends_on:
- nginx-proxy
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- certs:/etc/nginx/certs:rw
- html:/usr/share/nginx/html
- vhost.d:/etc/nginx/vhost.d
volumes:
certs:
html:
vhost.d: