Add nginx-proxy

This commit is contained in:
Daniel Meiburg 2023-02-13 11:34:42 +01:00
parent ac635b6326
commit ab0f4cfa70
Signed by: dm
GPG Key ID: E5827ECFFE0AA4F2
3 changed files with 39 additions and 0 deletions

BIN
nginx-proxy/.env.gpg Normal file

Binary file not shown.

View File

@ -0,0 +1,38 @@
version: '2'
services:
nginx-proxy:
image: nginxproxy/nginx-proxy:alpine
container_name: nginx-proxy
ports:
- "80:80"
- "443:443"
volumes:
- conf:/etc/nginx/conf.d
- vhost:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- certs:/etc/nginx/certs:ro
- /var/run/docker.sock:/tmp/docker.sock:ro
acme-companion:
image: nginxproxy/acme-companion
container_name: nginx-proxy-acme
environment:
- DEFAULT_EMAIL: $EMAIL
volumes_from:
- nginx-proxy
volumes:
- certs:/etc/nginx/certs:rw
- acme:/etc/acme.sh
- /var/run/docker.sock:/var/run/docker.sock:ro
volumes:
conf:
vhost:
html:
certs:
acme:
networks:
default:
name: nginx-proxy

View File

@ -0,0 +1 @@
client_max_body_size 10G;