forked from mirrors/mattermost-docker
Set webroot volume name
This commit is contained in:
parent
549b9d2527
commit
88a2f0e85f
@ -69,7 +69,6 @@ cp PATH-TO-KEY.PEM ./volumes/web/cert/key-no-password.pem
|
|||||||
|
|
||||||
For using Let's Encrypt you can follow this guide LINK or use the this Bash script scripts/issue-certificate.sh. Make sure to adjust `mm.example.com` to match your domain configured in step 2.
|
For using Let's Encrypt you can follow this guide LINK or use the this Bash script scripts/issue-certificate.sh. Make sure to adjust `mm.example.com` to match your domain configured in step 2.
|
||||||
```
|
```
|
||||||
sudo docker volume create shared-webroot
|
|
||||||
bash scripts/issue-certificate.sh -d mm.example.com -o ${PWD}/certs
|
bash scripts/issue-certificate.sh -d mm.example.com -o ${PWD}/certs
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@ services:
|
|||||||
# Shared volume for Let's Encrypt certificate renewal with a webroot
|
# Shared volume for Let's Encrypt certificate renewal with a webroot
|
||||||
volumes:
|
volumes:
|
||||||
shared-webroot:
|
shared-webroot:
|
||||||
|
name: shared-webroot
|
||||||
|
|
||||||
# This network name is being used for Let's Encrypt certificate renewal
|
# This network name is being used for Let's Encrypt certificate renewal
|
||||||
networks:
|
networks:
|
||||||
|
Loading…
Reference in New Issue
Block a user