From 2516b64c33c6213e9ccf781b16d6cd6da91c5548 Mon Sep 17 00:00:00 2001 From: Pierre Guillod Date: Sun, 31 Mar 2024 15:42:25 +0200 Subject: [PATCH] add stateless config files --- stateless/containers_storage/leantime/.env | 48 ++++++++++++++++++++ stateless/containers_storage/ntfy/server.yml | 6 +++ 2 files changed, 54 insertions(+) create mode 100644 stateless/containers_storage/leantime/.env create mode 100644 stateless/containers_storage/ntfy/server.yml diff --git a/stateless/containers_storage/leantime/.env b/stateless/containers_storage/leantime/.env new file mode 100644 index 0000000..204a127 --- /dev/null +++ b/stateless/containers_storage/leantime/.env @@ -0,0 +1,48 @@ +# This is a sample configuration file with all possible configuration options. +# If you don't want to maintain a file like this you can pass in all variables via Server Variables + +## Minimum Configuration, these are required for installation + +LEAN_APP_URL = 'https://discover.leantime.slowte.ch' # Base URL, only needed for subfolder installation +LEAN_APP_DIR = '' # Base of application without trailing slash (used for cookies), e.g, /leantime + +LEAN_DEBUG = 0 # Debug flag + +# Database - MySQL container +MYSQL_ROOT_PASSWORD = 'changeme123' # Database password +MYSQL_DATABASE = 'leantime' # Database name +MYSQL_USER = 'lean' # Database username +MYSQL_PASSWORD = 'changeme123' # Database password + +# Database - leantime container +LEAN_DB_HOST = 'mysql_leantime' # Database host +LEAN_DB_USER = 'lean' # Database username +LEAN_DB_PASSWORD = 'changeme123' # Database password +LEAN_DB_DATABASE = 'leantime' # Database name +LEAN_DB_PORT = '3306' # Database port + + +## Optional Configuration, you may omit these from your .env file + +## Default Settings +LEAN_SITENAME = 'Leantime' # Name of your site, can be changed later +LEAN_LANGUAGE = 'en-US' # Default language +LEAN_DEFAULT_TIMEZONE = 'Europe/Zurich' # Set default timezone +LEAN_ENABLE_MENU_TYPE = false # Enable to specifiy menu on a project by project basis +LEAN_SESSION_PASSWORD = '$LEAN_SESSION_PASSWORD' #Salting sessions. Replace with a strong password +LEAN_SESSION_EXPIRATION = 28800 # How many seconds after inactivity should we logout? 28800seconds = 8hours +LEAN_LOG_PATH = null # Default Log Path (including filename), if not set /logs/error.log will be used + +## Look & Feel, these settings are available in the UI and can be overwritten there. +LEAN_LOGO_PATH = '/images/logo.svg' # Default logo path, can be changed later +LEAN_PRINT_LOGO_URL = '/images/logo.jpg' # Default logo URL use for printing (must be jpg or png format) +LEAN_DEFAULT_THEME = 'default' # Default theme +LEAN_PRIMARY_COLOR = '#1b75bb' # Primary Theme color +LEAN_SECONDARY_COLOR = '#81B1A8' # Secondary Theme Color +LEAN_KEEP_THEME = true # Keep theme and language from previous user for login screen + +## Fileuploads + +# Local File Uploads +LEAN_USER_FILE_PATH = 'userfiles/' # Local relative path to store uploaded files (if not using S3) +LEAN_DB_BACKUP_PATH = 'backupdb/' # Local relative path to store backup files, need permission to write diff --git a/stateless/containers_storage/ntfy/server.yml b/stateless/containers_storage/ntfy/server.yml new file mode 100644 index 0000000..f45d0b8 --- /dev/null +++ b/stateless/containers_storage/ntfy/server.yml @@ -0,0 +1,6 @@ +base-url: "http://dring.slowte.ch" +cache-file: "/var/cache/ntfy/cache.db" +attachment-cache-dir: "/var/cache/ntfy/attachments" +auth-file: "/var/lib/ntfy/user.db" +auth-default-access: "deny-all" +behind-proxy: true \ No newline at end of file