Lemmy-Postgres
pgautoupgrade/pgautoupgrade:16-alpine
https://hub.docker.com/r/pgautoupgrade/pgautoupgrade/
bridge
sh
false
https://github.com/LemmyNet/lemmy/discussions
https://www.postgresql.org/
PostgreSQL database for Lemmy with auto-upgrade support.
Productivity: Tools:
https://www.postgresql.org/media/img/about/press/elephant.png
--auth-host=scram-sha-256
/mnt/user/appdata/lemmy/postgres
/var/lib/postgresql/data
rw
PostgreSQL database configured for Lemmy with the following features:
- Automatic upgrades
- Performance tuning
- Query analysis logging
Configuration:
1. Set secure database credentials
2. Update the credentials in Lemmy's configuration
3. Choose a different port if 5433 is in use
Note: This container should be started first before other Lemmy components.
-c "session_preload_libraries=auto_explain" -c "auto_explain.log_min_duration=5ms" -c "auto_explain.log_analyze=true" -c "auto_explain.log_triggers=true" -c "track_activity_query_size=1048576"