From b45e293e269e441e31edae76c021c7d3bd0ea7dc Mon Sep 17 00:00:00 2001 From: cerberus Date: Fri, 30 Jan 2026 08:31:39 +0100 Subject: [PATCH] adjusted default values --- WYGIWYH/.env | 1 + WYGIWYH/compose.yaml | 2 ++ code_server/compose.yml | 8 ++++---- kitchenowl/compose.yml | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/WYGIWYH/.env b/WYGIWYH/.env index 8d9d871..dba1931 100644 --- a/WYGIWYH/.env +++ b/WYGIWYH/.env @@ -1,5 +1,6 @@ # ContainerName SERVER_NAME=wygiwyh +SECRET_KEY=yihdfgverhgn # Database Config DB_NAME=sql-database SQL_USER=username diff --git a/WYGIWYH/compose.yaml b/WYGIWYH/compose.yaml index 43a3d93..f311e2a 100644 --- a/WYGIWYH/compose.yaml +++ b/WYGIWYH/compose.yaml @@ -9,6 +9,8 @@ services: depends_on: - db restart: unless-stopped + environment: + - SECRET_KEY=${SECRET_KEY:-super_secure_string} db: image: postgres:15-bookworm diff --git a/code_server/compose.yml b/code_server/compose.yml index fb66b60..f8b3cfd 100644 --- a/code_server/compose.yml +++ b/code_server/compose.yml @@ -4,10 +4,10 @@ services: image: lscr.io/linuxserver/code-server:latest container_name: code-server environment: - - PUID=${PUID:-default 1000} - - PGID=${PGID:-default 1000} + - PUID=${PUID:-1000} + - PGID=${PGID:-1000} - TZ=${TZ:-default} - - PASSWORD=${PASSWORD:-default secure_password} #optional + - PASSWORD=${PASSWORD:-secure_password} #optional #- HASHED_PASSWORD= #optional #- SUDO_PASSWORD=password #optional #- SUDO_PASSWORD_HASH= #optional @@ -17,5 +17,5 @@ services: volumes: - ./config:/config ports: - - ${PORT:-default 8443}:8443 + - ${PORT:-8443}:8443 restart: unless-stopped diff --git a/kitchenowl/compose.yml b/kitchenowl/compose.yml index 80619a2..e60888f 100644 --- a/kitchenowl/compose.yml +++ b/kitchenowl/compose.yml @@ -9,6 +9,6 @@ services: # Required to set. Either manually or via the setup script. - JWT_SECRET_KEY=${JWT_SECRET_KEY:?Required Value} - STORAGE_PATH=${STORAGE_PATH} - - OPEN_REGISTRATION=${OPEN_REGISTRATION:-default false} + - OPEN_REGISTRATION=${OPEN_REGISTRATION:-false} volumes: - ./data:/data