Skip to content

Commit

Permalink
change paths to old mattermost-docker settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mrckndt committed Apr 20, 2021
1 parent 486e09e commit b24942d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
volumes
data
certs
.env
20 changes: 10 additions & 10 deletions env.example
Original file line number Diff line number Diff line change
Expand Up @@ -25,30 +25,30 @@ 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
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
Expand Down

0 comments on commit b24942d

Please sign in to comment.