docs: Update 3 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 51s

This commit is contained in:
j
2025-12-18 21:03:24 +13:00
parent 9cf6ab2305
commit b28e56eaba
3 changed files with 19 additions and 5 deletions

View File

@@ -19,6 +19,7 @@ HTTP_PORT - Web interface port (default: 3080)
PUID - User ID for file permissions (default: 1000)
PGID - Group ID for file permissions (default: 1000)
TZ - Timezone (default: Pacific/Auckland)
DB_TYPE - Database type: sqlite or postgres (default: sqlite)
Ports
-----
@@ -44,10 +45,19 @@ You will be guided through the initial setup wizard to:
Database
--------
By default, Wiki.js uses SQLite which requires no additional setup.
For PostgreSQL support, configure the database settings in the
Wiki.js admin panel after initial setup, or edit the config.yml
file directly in DATA_PATH/config/.
By default, Wiki.js uses SQLite (DB_TYPE=sqlite) which requires no
additional setup and stores data in DATA_PATH/data/.
For PostgreSQL support, set DB_TYPE=postgres and configure these
additional environment variables in service.env:
DB_HOST - PostgreSQL server hostname
DB_PORT - PostgreSQL server port (default: 5432)
DB_NAME - Database name
DB_USER - Database username
DB_PASS - Database password
Note: Database settings only apply on first run. After initial setup,
modify DATA_PATH/config/config.yml directly.
Backup & Restore
----------------