mirror of
https://github.com/mattermost/docker.git
synced 2024-10-18 10:45:54 +00:00
Merge pull request #45 from mrckndt/use-env-for-readonly
Make readonly container overwritable, defaults to false
This commit is contained in:
commit
cff69579d0
@ -34,7 +34,7 @@ services:
|
|||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
pids_limit: 200
|
pids_limit: 200
|
||||||
read_only: true
|
read_only: ${MATTERMOST_CONTAINER_READONLY}
|
||||||
tmpfs:
|
tmpfs:
|
||||||
- /tmp
|
- /tmp
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -58,6 +58,11 @@ MATTERMOST_CLIENT_PLUGINS_PATH=./volumes/app/mattermost/client/plugins
|
|||||||
MATTERMOST_IMAGE=mattermost-enterprise-edition
|
MATTERMOST_IMAGE=mattermost-enterprise-edition
|
||||||
MATTERMOST_IMAGE_TAG=5.38
|
MATTERMOST_IMAGE_TAG=5.38
|
||||||
|
|
||||||
|
## Make Mattermost container readonly. This interferes with the regeneration of root.html inside the container. Only use
|
||||||
|
## it if you know what you're doing.
|
||||||
|
## See https://github.com/mattermost/docker/issues/18
|
||||||
|
MATTERMOST_CONTAINER_READONLY=false
|
||||||
|
|
||||||
## The app port is only relevant for using Mattermost without the nginx container as reverse proxy. This is not meant
|
## 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
|
## to be used with the internal HTTP server exposed but rather in case one wants to host several services on one host
|
||||||
## or for using it behind another existing reverse proxy.
|
## or for using it behind another existing reverse proxy.
|
||||||
|
Loading…
Reference in New Issue
Block a user