adjusted default values
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
# ContainerName
|
# ContainerName
|
||||||
SERVER_NAME=wygiwyh
|
SERVER_NAME=wygiwyh
|
||||||
|
SECRET_KEY=yihdfgverhgn
|
||||||
# Database Config
|
# Database Config
|
||||||
DB_NAME=sql-database
|
DB_NAME=sql-database
|
||||||
SQL_USER=username
|
SQL_USER=username
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- SECRET_KEY=${SECRET_KEY:-super_secure_string}
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres:15-bookworm
|
image: postgres:15-bookworm
|
||||||
|
|||||||
@@ -4,10 +4,10 @@ services:
|
|||||||
image: lscr.io/linuxserver/code-server:latest
|
image: lscr.io/linuxserver/code-server:latest
|
||||||
container_name: code-server
|
container_name: code-server
|
||||||
environment:
|
environment:
|
||||||
- PUID=${PUID:-default 1000}
|
- PUID=${PUID:-1000}
|
||||||
- PGID=${PGID:-default 1000}
|
- PGID=${PGID:-1000}
|
||||||
- TZ=${TZ:-default}
|
- TZ=${TZ:-default}
|
||||||
- PASSWORD=${PASSWORD:-default secure_password} #optional
|
- PASSWORD=${PASSWORD:-secure_password} #optional
|
||||||
#- HASHED_PASSWORD= #optional
|
#- HASHED_PASSWORD= #optional
|
||||||
#- SUDO_PASSWORD=password #optional
|
#- SUDO_PASSWORD=password #optional
|
||||||
#- SUDO_PASSWORD_HASH= #optional
|
#- SUDO_PASSWORD_HASH= #optional
|
||||||
@@ -17,5 +17,5 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./config:/config
|
- ./config:/config
|
||||||
ports:
|
ports:
|
||||||
- ${PORT:-default 8443}:8443
|
- ${PORT:-8443}:8443
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
@@ -9,6 +9,6 @@ services:
|
|||||||
# Required to set. Either manually or via the setup script.
|
# Required to set. Either manually or via the setup script.
|
||||||
- JWT_SECRET_KEY=${JWT_SECRET_KEY:?Required Value}
|
- JWT_SECRET_KEY=${JWT_SECRET_KEY:?Required Value}
|
||||||
- STORAGE_PATH=${STORAGE_PATH}
|
- STORAGE_PATH=${STORAGE_PATH}
|
||||||
- OPEN_REGISTRATION=${OPEN_REGISTRATION:-default false}
|
- OPEN_REGISTRATION=${OPEN_REGISTRATION:-false}
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/data
|
- ./data:/data
|
||||||
|
|||||||
Reference in New Issue
Block a user