Skip to content

Commit f0d8fda

Browse files
committed
fix: Parameterize paperless-ngx-postgres image tags and fix version mismatch
Postgres was set to 16 but data directory was initialized with 13, causing crash loop. Gotenberg was pinned at 7.4 but paperless 2.17.1 requires 8.x. All three supporting service tags (postgres, gotenberg, redis) are now configurable via paperless-ngx-postgres.env with safe defaults.
1 parent 00feebd commit f0d8fda

2 files changed

Lines changed: 10 additions & 13 deletions

File tree

SERVICES.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@
8282
- [dashdot](https://github.com/MauriceNino/dashdot) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/dashdot.yml)): Dashboard for monitoring docker containers
8383
- [dashy](https://github.com/Lissy93/dashy) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/dashy.yml)): Customizable dashboard for displaying information
8484
- [dawarich](https://github.com/Freika/dawarich) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/dawarich.yml)): Self-hostable alternative to Google Location History (Google Maps Timeline)
85-
- [dockerizalo](https://github.com/undernightcore/dockerizalo) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/dockerizalo.yml)): Docker build and deployment platform
8685
- [docker-mirror](https://hub.docker.com/_/registry) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/docker-mirror.yml)): docker mirror / registry for caching docker images
8786
- [docker-proxy](https://github.com/Tecnativa/docker-socket-proxy) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/docker-proxy.yml)): Proxy for docker containers
8887
- [docker-registry](https://hub.docker.com/_/registry) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/docker-registry.yml)): Registry for storing and distributing container images
88+
- [dockerizalo](https://github.com/undernightcore/dockerizalo) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/dockerizalo.yml)): Docker build and deployment platform
8989
- [dockpeek-socket-proxy](https://github.com/dockpeek/dockpeek) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/dockpeek-socket-proxy.yml)): Proxy service for Dockpeek
9090
- [dockpeek](https://github.com/dockpeek/dockpeek) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/dockpeek.yml)): Docker Port Dashboard for Easy Container Access
9191
- [docling](https://github.com/docling-project/docling-serve) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/docling.yml)): AI-powered document parsing and processing service with GPU acceleration
@@ -105,8 +105,8 @@
105105

106106
## F
107107
- [feishin](https://github.com/jeffvli/feishin) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/feishin.yml)): A modern self-hosted music player.
108-
- [firefly3](https://github.com/firefly-iii/firefly-iii/tree/main) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/firefly3.yml)): Manages personal finances and budgets
109108
- [firefly-data-importer](https://github.com/firefly-iii/firefly-iii/tree/main) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/firefly-data-importer.yml)): Imports data into firefly iii, a personal finance manager
109+
- [firefly3](https://github.com/firefly-iii/firefly-iii/tree/main) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/firefly3.yml)): Manages personal finances and budgets
110110
- [firefox](https://github.com/linuxserver/docker-firefox) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/firefox.yml)): Runs mozilla firefox browser in a container
111111
- [flame](https://github.com/pawelmalak/flame) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/flame.yml)): homepage/dashboard for docker containers and services
112112
- [fooocus](https://github.com/lllyasviel/Fooocus) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/fooocus.yml)): Focus on prompting and generating | a generative image generator
@@ -129,8 +129,8 @@
129129
- [gitea](https://github.com/go-gitea/gitea) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/gitea.yml)): Lightweight git service similar to github
130130
- [github-backup](https://github-backup.sierrasoftworks.com/) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/github-backup.yml)): Runs GitHub Backup to periodically archive GitHub repositories and releases
131131
- [gitlab](https://docs.gitlab.com/ee/install/docker.html) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/gitlab.yml)): Self-hosted git repository management system
132-
- [glances](https://github.com/nicolargo/glances) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/glances.yml)): System monitoring tool
133132
- [glance](https://github.com/glanceapp/glance) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/glance.yml)): A self-hosted dashboard that puts all your feeds in one place
133+
- [glances](https://github.com/nicolargo/glances) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/glances.yml)): System monitoring tool
134134
- [gluetun](https://github.com/qdm12/gluetun) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/gluetun.yml)): VPN Client for Docker Containers and More
135135
- [go2rtc](https://github.com/AlexxIT/go2rtc) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/go2rtc.yml)): Webrtc gateway for camera restreaming
136136
- [gotify](https://github.com/gotify/server) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/gotify.yml)): Self-hosted push notification service
@@ -335,8 +335,8 @@
335335

336336
## V
337337
- [valkey](https://valkey.io) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/valkey.yml)): Shared Valkey cache server for multiple services
338-
- [vaultwarden](https://github.com/dani-garcia/vaultwarden) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/vaultwarden.yml)): Self-hosted bitwarden password manager
339338
- [vault](https://github.com/hashicorp/vault) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/vault.yml)): A tool for secrets management, encryption as a service, and privileged access management
339+
- [vaultwarden](https://github.com/dani-garcia/vaultwarden) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/vaultwarden.yml)): Self-hosted bitwarden password manager
340340
- [vert](https://github.com/VERT-sh/VERT) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/vert.yml)):
341341
- [vikunja](https://vikunja.io/docs/full-docker-example/) ([yml](https://github.com/traefikturkey/onramp/tree/main/services-available/vikunja.yml)): Task and time management app
342342

services-available/paperless-ngx-postgres.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,13 @@ networks:
99
# https://hub.docker.com/r/linuxserver/paperless-ngx
1010
# https://docs.paperless-ngx.com/
1111
#
12-
# IMPORTANT: Upgraded from postgres:13 to postgres:16
13-
# If you get "PostgreSQL 14 or later is required" error after upgrade:
14-
# 1. make stop-service paperless-ngx-postgres
15-
# 2. sudo rm -rf /apps/onramp/etc/paperless-ngx-postgres/pgdata/*
16-
# 3. make start-service paperless-ngx-postgres
17-
# (This recreates the database - only do this if data is not important)
12+
# IMPORTANT: Postgres data directory must match the image version.
13+
# To upgrade postgres, do a pg_dump on the old version, update the tag,
14+
# then restore. Never change the tag without migrating data first.
1815

1916
services:
2017
broker:
21-
image: docker.io/library/redis:6.0 #pinned for kitty
18+
image: docker.io/library/redis:${PAPERLESS_REDIS_TAG:-7}
2219
env_file:
2320
- ./services-enabled/paperless-ngx-postgres.env
2421
restart: unless-stopped
@@ -28,7 +25,7 @@ services:
2825
- ./etc/paperless-ngx-postgres/redisdata:/data
2926

3027
db:
31-
image: postgres:16
28+
image: postgres:${PAPERLESS_POSTGRES_TAG:-13}
3229
env_file:
3330
- ./services-enabled/paperless-ngx-postgres.env
3431
restart: unless-stopped
@@ -42,7 +39,7 @@ services:
4239
POSTGRES_PASSWORD: paperless
4340

4441
gotenberg:
45-
image: docker.io/gotenberg/gotenberg:7.4 #pinned for kitty
42+
image: docker.io/gotenberg/gotenberg:${PAPERLESS_GOTENBERG_TAG:-8}
4643
env_file:
4744
- ./services-enabled/paperless-ngx-postgres.env
4845
restart: unless-stopped

0 commit comments

Comments
 (0)