move base config options to ConfigMap and move db migration/connection parameters to pixelfed.db section

Signed-off-by: jessebot <jessebot@linux.com>
This commit is contained in:
jessebot
2025-01-19 10:10:03 +01:00
parent 08a083bbab
commit d5eb2ac1d9
4 changed files with 101 additions and 151 deletions
+5 -4
View File
@@ -132,8 +132,6 @@ affinity: {}
externalDatabase:
# -- enable using an external mysql or postgresql cluster
enabled: false
# -- options: sqlite mysql pgsql sqlsrv
connection: pgsql
host: ""
port: 3306
database: pixelfed
@@ -241,8 +239,11 @@ postgresql:
storageClass: ""
pixelfed:
# -- Automatically run [artisan migrate --force] if new migrations are detected.
db_apply_new_migrations_automatically: false
db:
# -- options: sqlite mysql pgsql sqlsrv
connection: pgsql
# -- Automatically run [artisan migrate --force] if new migrations are detected.
apply_new_migrations_automatically: false
# -- timezone for docker container
timezone: "europe/amsterdam"