Auf neues Projekt "swag" für nginx Proxy umgestellt

This commit is contained in:
bmen 2021-01-08 11:19:52 +00:00
parent 052810d13a
commit ac1243df4f
1 changed files with 14 additions and 9 deletions

View File

@ -1,14 +1,14 @@
---
version: "2"
---
version: "2.1"
networks:
webproxy:
external: true
services:
letsencrypt:
image: linuxserver/letsencrypt
container_name: letsencrypt
swag:
image: ghcr.io/linuxserver/swag
container_name: webproxy
cap_add:
- NET_ADMIN
environment:
@ -16,19 +16,24 @@ services:
- PGID=1000
- TZ=Europe/Berlin
- URL=bmen.cc
- SUBDOMAINS=www,git,cloud,cockpit,2032er,md
- SUBDOMAINS=git,cloud,cockpit,2032er,md,drone
- VALIDATION=http
- EMAIL=webmaster@bmen.cc
- DHLEVEL=2048
- ONLY_SUBDOMAINS=false
- STAGING=false
- EXTRA_DOMAINS=cloud.bmen.eu
- MAXMINDDB_LICENSE_KEY=${MAXMINDDB_LICENSE_KEY}
- DNSPLUGIN=cloudflare #optional
- PROPAGATION= #optional
- DUCKDNSTOKEN= #optional
- EXTRA_DOMAINS= #optional
- MAXMINDDB_LICENSE_KEY= #optional
volumes:
- /opt/appdata/webproxy:/config
networks:
- webproxy
container_name: webproxy
ports:
- 443:443
- 80:80
restart: unless-stopped
- 80:80 #optional
restart: unless-stopped