add stateless config files

This commit is contained in:
Pierre Guillod 2024-03-31 15:42:25 +02:00
parent 947d8fc764
commit 2516b64c33
2 changed files with 54 additions and 0 deletions

View file

@ -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

View file

@ -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