From 64b0e9171d97e18f403f886a04b3b0575474413a Mon Sep 17 00:00:00 2001 From: notplants Date: Wed, 1 Dec 2021 14:07:08 +0100 Subject: [PATCH] Remove restart policy --- .env.sample | 1 - compose.yml | 2 -- 2 files changed, 3 deletions(-) diff --git a/.env.sample b/.env.sample index 34e5c15..c93605e 100644 --- a/.env.sample +++ b/.env.sample @@ -14,7 +14,6 @@ SECRET_POSTGRES_PASSWORD_VERSION=v1 ## A list of these tz database names can be looked up at Wikipedia ## https://en.wikipedia.org/wiki/List_of_tz_database_time_zones TZ=UTC -RESTART_POLICY=unless-stopped ## 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. diff --git a/compose.yml b/compose.yml index 8fd0137..b6a5e70 100644 --- a/compose.yml +++ b/compose.yml @@ -3,7 +3,6 @@ version: "3.8" services: postgres: image: postgres:13-alpine - restart: ${RESTART_POLICY} security_opt: - no-new-privileges:true tmpfs: @@ -26,7 +25,6 @@ services: app: image: mattermost/mattermost-team-edition:5.39 - restart: ${RESTART_POLICY} security_opt: - no-new-privileges:true read_only: ${MATTERMOST_CONTAINER_READONLY}