mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-10-29 23:32:35 +01:00
a998f2048a
This reverts commit 1d7ef2700e
.
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
version: '3'
|
|
services:
|
|
db:
|
|
restart: unless-stopped
|
|
web:
|
|
env_file: .env
|
|
image: hakanensari/frankfurter
|
|
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:
|