2017-11-03 22:32:30 +01:00
|
|
|
version: '3'
|
|
|
|
services:
|
2017-11-03 21:55:05 +01:00
|
|
|
db:
|
2017-12-31 17:44:08 +01:00
|
|
|
restart: unless-stopped
|
2017-11-03 22:32:30 +01:00
|
|
|
web:
|
|
|
|
env_file: .env
|
2018-04-16 17:19:15 +02:00
|
|
|
image: hakanensari/frankfurter
|
2017-11-23 11:03:58 +01:00
|
|
|
logging:
|
|
|
|
options:
|
|
|
|
max-size: "50m"
|
|
|
|
max-file: "10"
|
2017-12-31 17:44:08 +01:00
|
|
|
restart: unless-stopped
|
2018-01-08 13:12:54 +01:00
|
|
|
scheduler:
|
|
|
|
env_file: .env
|
2018-04-16 17:19:15 +02:00
|
|
|
image: hakanensari/frankfurter
|
2018-01-08 13:12:54 +01:00
|
|
|
logging:
|
|
|
|
options:
|
|
|
|
max-size: "50m"
|
|
|
|
max-file: "10"
|
|
|
|
restart: unless-stopped
|
2017-11-03 22:32:30 +01:00
|
|
|
nginx-proxy:
|
2018-01-08 13:12:54 +01:00
|
|
|
image: jwilder/nginx-proxy
|
2017-11-03 22:32:30 +01:00
|
|
|
labels:
|
|
|
|
- "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy=true"
|
2017-11-23 11:03:58 +01:00
|
|
|
logging:
|
|
|
|
options:
|
|
|
|
max-size: "50m"
|
|
|
|
max-file: "10"
|
2017-11-03 22:32:30 +01:00
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
- "443:443"
|
2017-12-31 17:44:08 +01:00
|
|
|
restart: unless-stopped
|
2017-11-03 22:32:30 +01:00
|
|
|
volumes:
|
|
|
|
- /etc/nginx/conf.d
|
2018-01-08 13:12:54 +01:00
|
|
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
2017-11-03 22:32:30 +01:00
|
|
|
- ./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
|
2017-12-31 17:44:08 +01:00
|
|
|
restart: unless-stopped
|
2017-11-03 22:32:30 +01:00
|
|
|
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:
|