mirror of
https://github.com/mattermost/docker.git
synced 2024-10-18 10:45:54 +00:00
Removed problematic security_opt
: no-new-privileges
This commit removes the no-new-privileges security options from the services defined in the /docker-compose.yml file, as it causes errors when attempting to start the containers (see mattermost/docker#128). Removing the security option seems to resolve the problem.
This commit is contained in:
parent
1fee048edc
commit
e3d84e6b1d
@ -6,8 +6,6 @@ services:
|
||||
postgres:
|
||||
image: postgres:${POSTGRES_IMAGE_TAG}
|
||||
restart: ${RESTART_POLICY}
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
pids_limit: 100
|
||||
read_only: true
|
||||
tmpfs:
|
||||
@ -29,8 +27,6 @@ services:
|
||||
- postgres
|
||||
image: mattermost/${MATTERMOST_IMAGE}:${MATTERMOST_IMAGE_TAG}
|
||||
restart: ${RESTART_POLICY}
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
pids_limit: 200
|
||||
read_only: ${MATTERMOST_CONTAINER_READONLY}
|
||||
tmpfs:
|
||||
|
Loading…
Reference in New Issue
Block a user