Skip to content

Commit

Permalink
Removed problematic security_opt: no-new-privileges
Browse files Browse the repository at this point in the history
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#128). Removing the security option seems to resolve the problem.
  • Loading branch information
ZelnickB authored Aug 2, 2023
1 parent 1fee048 commit e3d84e6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit e3d84e6

Please sign in to comment.