various bug fixes related to Swarm

This commit is contained in:
bunkerity
2021-06-06 23:22:33 +02:00
parent 678ad70b01
commit fcc6b3b5e4
17 changed files with 162 additions and 97 deletions

View File

@@ -3,8 +3,8 @@
# you need to run it before starting bunkerized-nginx to get the first certificate
# edit according to your values
DOMAINS="kakou-corp.fr,*.kakou-corp.fr"
EMAIL="contact@kakou-corp.fr"
DOMAINS="website.com,*.website.com"
EMAIL="contact@website.com"
SERVICE="mywww"
# ask for the certificate

View File

@@ -11,6 +11,7 @@ services:
- /shared/confs:/etc/nginx
- /shared/letsencrypt:/etc/letsencrypt
- /shared/acme-challenge:/acme-challenge
- /shared/cache:/cache
environment:
- SWARM_MODE=yes
- API_URI=/ChangeMeToSomethingHardToGuess # must match API_URI from nginx
@@ -36,10 +37,11 @@ services:
# bunkerized-nginx runs as an unprivileged user with UID/GID 101
# don't forget to edit the permissions of the files and folders accordingly
volumes:
- /shared/confs:/etc/nginx
- /shared/confs:/etc/nginx:ro
- /shared/letsencrypt:/etc/letsencrypt:ro
- /shared/acme-challenge:/acme-challenge:ro
- /shared/www:/www:ro
- /shared/cache:/cache:ro
environment:
- SWARM_MODE=yes
- USE_API=yes