From b24942db602e7d6a7e108c525b08710ac707b1a4 Mon Sep 17 00:00:00 2001 From: Marco Kundt Date: Tue, 20 Apr 2021 20:22:20 +0200 Subject: [PATCH] change paths to old mattermost-docker settings --- .gitignore | 1 + env.example | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index edd4c34..2f3fabc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +volumes data certs .env diff --git a/env.example b/env.example index 34ced49..9c5634b 100644 --- a/env.example +++ b/env.example @@ -25,14 +25,14 @@ POSTGRES_DB=mattermost ## every config file inside */etc/nginx/conf.d* ending with a *.conf* file extension. ## Inside the container the uid and gid is 101. The folder owner can be set with -## `sudo chown -R 101:101 ./data/mattermost`. +## `sudo chown -R 101:101 ./nginx`. NGINX_IMAGE_TAG=alpine NGINX_MATTERMOST_CONFIG=./nginx/mattermost.conf NGINX_DHPARAMS_FILE=./nginx/dhparams4096.pem -CERT_PATH=./certs/fullchain.pem -KEY_PATH=./certs/privkey.pem +CERT_PATH=./volumes/web/cert/cert.pem +KEY_PATH=./volumes/web/cert/key-no-password.pem ## Exposed ports to the host. Inside the container 80 and 443 will be used HTTPS_PORT=443 @@ -40,15 +40,15 @@ HTTP_PORT=80 # Mattermost settings ## Inside the container the uid and gid is 2000. The folder owner can be set with -## `sudo chown -R 2000:2000 ./data/mattermost`. -MATTERMOST_CONFIG_PATH=./data/mattermost/config -MATTERMOST_DATA_PATH=./data/mattermost/data -MATTERMOST_LOGS_PATH=./data/mattermost/logs -MATTERMOST_PLUGINS_PATH=./data/mattermost/plugins -MATTERMOST_CLIENT_PLUGINS_PATH=./data/mattermost/client-plugins +## `sudo chown -R 2000:2000 ./volumes/app/mattermost`. +MATTERMOST_CONFIG_PATH=./volumes/app/mattermost/config +MATTERMOST_DATA_PATH=./volumes/app/mattermost/data +MATTERMOST_LOGS_PATH=./volumes/app/mattermost/logs +MATTERMOST_PLUGINS_PATH=./volumes/app/mattermost/plugins +MATTERMOST_CLIENT_PLUGINS_PATH=./volumes/app/mattermost/client-plugins MATTERMOST_IMAGE=mattermost-enterprise-edition -MATTERMOST_IMAGE_TAG=latest +MATTERMOST_IMAGE_TAG=release-5.34 ## The app port is only relevant for using Mattermost without the nginx container as reverse proxy. This is not meant ## to be used with the internal HTTP server exposed but rather in case one wants to host several services on one host