mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 13:55:08 +00:00
* refactor: move core nginx files into more recognizable folder structure * chore: include HTTPS_PUBLISH_PORT in example .env * feat: add nginx-proxy and acme-companion compose overrides * docs: add NGINX_PROXY_HOSTS to example.env * docs: add nginx-proxy overrides * docs: split docs, variables for usage of traefik or nginx-proxy * docs: update override notes for traefik proxy on separate stack * docs: split TLS/SSL overview and add own caddy guide * docs: add nginx-proxy + acme companion guide * docs: add nginx-proxy and acme single-server setup guide
26 lines
679 B
YAML
26 lines
679 B
YAML
services:
|
|
frontend:
|
|
environment:
|
|
LETSENCRYPT_HOST: ${NGINX_PROXY_HOSTS:?No NGINX_PROXY_HOSTS set}
|
|
|
|
nginx-proxy:
|
|
ports:
|
|
- ${HTTP_PUBLISH_PORT:-80}:80
|
|
- ${HTTPS_PUBLISH_PORT:-443}:443
|
|
|
|
acme-companion:
|
|
image: nginxproxy/acme-companion:latest
|
|
restart: unless-stopped
|
|
environment:
|
|
DEFAULT_EMAIL: ${LETSENCRYPT_EMAIL:?No LETSENCRYPT_EMAIL set}
|
|
volumes:
|
|
- nginx-proxy-certs:/etc/nginx/certs
|
|
- nginx-proxy-html:/usr/share/nginx/html
|
|
- nginx-proxy-vhost:/etc/nginx/vhost.d
|
|
- acme-data:/etc/acme.sh
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
depends_on:
|
|
- nginx-proxy
|
|
|
|
volumes:
|
|
acme-data:
|