web: Do not store secret files in container
This commit is contained in:
parent
64163f2e05
commit
4bf0f4b64a
@ -25,4 +25,6 @@ web:
|
||||
links:
|
||||
- app:platform
|
||||
volumes:
|
||||
# This directory must have cert files
|
||||
- ./volumes/web/cert:/cert:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
@ -8,10 +8,6 @@ RUN ln -s /etc/nginx/sites-available/mattermost /etc/nginx/sites-enabled/matterm
|
||||
ADD mattermost /etc/nginx/sites-available/
|
||||
ADD docker-entry.sh /
|
||||
|
||||
RUN mkdir /cert
|
||||
ADD cert/cert.pem /cert/
|
||||
ADD cert/private/key-no-password.pem /cert/
|
||||
|
||||
RUN chmod +x /docker-entry.sh
|
||||
|
||||
# You can see the logs using `docker-compose logs web`.
|
||||
|
Reference in New Issue
Block a user