From 1543d3ca58daa7e5a8a254684d503e5ff5731058 Mon Sep 17 00:00:00 2001 From: hygienic-books Date: Wed, 29 Jan 2025 01:11:31 +0100 Subject: [PATCH] fix(snipeit): Always restart --- common-settings.yaml | 2 +- env/fqdn_context.env.example | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/common-settings.yaml b/common-settings.yaml index 9fd26d7..19d917f 100644 --- a/common-settings.yaml +++ b/common-settings.yaml @@ -8,4 +8,4 @@ services: max-size: "10m" max-file: "10" compress: "true" - restart: "${RESTARTPOLICY:-unless-stopped}" + restart: "${RESTARTPOLICY:-always}" diff --git a/env/fqdn_context.env.example b/env/fqdn_context.env.example index 826c9b2..855b0be 100644 --- a/env/fqdn_context.env.example +++ b/env/fqdn_context.env.example @@ -1,6 +1,3 @@ -# This file is maintained by remco and populated with data from HashiCorp -# Vault. Changes not done in Vault will be reverted when file gets rendered. - APP_ENV=production APP_KEY=base64:your-app-key-here APP_LOCALE=en @@ -29,4 +26,8 @@ SNIPEIT_PORT=61000 SNIPEIT_VERSION=latest SUBNET=172.30.95.0/24 # Set to true when needed for temporary debugging -APP_DEBUG=false \ No newline at end of file +APP_DEBUG=false + +# Other available defaults +# RESTARTPOLICY=always +# TIMEZONE=Etc/UTC \ No newline at end of file