various bug fixes related to Swarm
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user