Skip to content

Conversation

@jessebot
Copy link
Collaborator

@jessebot jessebot commented Jan 19, 2025

Moving to a ConfigMap helps with readability and also a bit of the issues mentioned in #17 (comment) in case we want to switch to another docker image in the future that requires a .env file.

Two parameters have also moved from pixelfed.db_apply_new_migrations_automatically and externalDatabase.connection. New locations are under the pixelfed.db section:

 pixelfed:
   db:
    # -- options: sqlite mysql pgsql sqlsrv
    connection: pgsql
    # -- Automatically run [artisan migrate --force] if new migrations are detected.
    apply_new_migrations_automatically: false

@jessebot jessebot merged commit 61ff732 into main Jan 19, 2025
1 check passed
@jessebot jessebot deleted the move-base-config-to-configmap branch January 19, 2025 09:14
@jessebot
Copy link
Collaborator Author

oh! hah! I didn't realize you already checked in a configmap @holysoles 😅
https://github.com/small-hack/pixelfed-chart/blob/main/charts/pixelfed/templates/configmap.yaml

Going to remove that one because we now have two :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants