adjusted default values
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# ContainerName
|
||||
SERVER_NAME=wygiwyh
|
||||
SECRET_KEY=yihdfgverhgn
|
||||
# Database Config
|
||||
DB_NAME=sql-database
|
||||
SQL_USER=username
|
||||
|
||||
@@ -9,6 +9,8 @@ services:
|
||||
depends_on:
|
||||
- db
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- SECRET_KEY=${SECRET_KEY:-super_secure_string}
|
||||
|
||||
db:
|
||||
image: postgres:15-bookworm
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user