From e6ad73e2f3c9dbf3deab88a560cc5723333ea09a Mon Sep 17 00:00:00 2001 From: thesabear Date: Tue, 25 Aug 2026 10:30:13 +0300 Subject: [PATCH] stacks: use each app's real default port instead of arbitrary fleet ports Replaced 29 host-port values across 27 stacks with the app's own well-known default (read directly from each compose file's own container-side port mapping) instead of the arbitrary port numbers this fleet actually assigns to avoid collisions across ~44 services on one host. More recognizable to a reader, and removes the last fleet-specific detail these files carried. Also removes a stale adminer service from n8n's stack entirely (compose service + .env var) - it's no longer actually deployed. --- stacks/dev-tools/cloudcommander/.env | 2 +- stacks/dev-tools/it-tools/.env | 2 +- stacks/identity-and-security/vaultwarden/.env | 2 +- stacks/media/audiobookshelf/.env | 2 +- stacks/media/beets/.env | 2 +- stacks/media/calibre-web-automated/.env | 2 +- stacks/media/calibre/.env | 2 +- stacks/media/immich/.env | 2 +- stacks/media/jellyfin/.env | 2 +- stacks/media/lidarr/.env | 2 +- stacks/media/radarr/.env | 2 +- stacks/media/seerr/.env | 2 +- stacks/media/sonarr/.env | 2 +- stacks/platform/dashy/.env | 2 +- stacks/platform/dockhand/.env | 2 +- stacks/platform/gitea/.env | 2 +- stacks/platform/kestra/.env | 2 +- stacks/platform/nocodb/.env | 2 +- stacks/platform/node-red/.env | 2 +- stacks/platform/speedtest-tracker/.env | 2 +- stacks/productivity/actual/.env | 2 +- stacks/productivity/firefly-iii/.env | 4 ++-- stacks/productivity/ghost/.env | 4 ++-- stacks/productivity/home-assistant/.env | 2 +- stacks/productivity/n8n/.env | 3 +-- stacks/productivity/n8n/docker-compose.yaml | 9 --------- stacks/productivity/paperless-ngx/.env | 2 +- stacks/productivity/trilium/.env | 2 +- 28 files changed, 29 insertions(+), 39 deletions(-) diff --git a/stacks/dev-tools/cloudcommander/.env b/stacks/dev-tools/cloudcommander/.env index 86f4e4c..c5aec04 100644 --- a/stacks/dev-tools/cloudcommander/.env +++ b/stacks/dev-tools/cloudcommander/.env @@ -1,2 +1,2 @@ # Exposed HTTP port -HTTP_PORT=8641 +HTTP_PORT=8000 diff --git a/stacks/dev-tools/it-tools/.env b/stacks/dev-tools/it-tools/.env index 4d757b6..d0923e5 100644 --- a/stacks/dev-tools/it-tools/.env +++ b/stacks/dev-tools/it-tools/.env @@ -1,2 +1,2 @@ # Exposed HTTP port -HTTP_PORT=6392 +HTTP_PORT=80 diff --git a/stacks/identity-and-security/vaultwarden/.env b/stacks/identity-and-security/vaultwarden/.env index c2999b3..8cc599c 100644 --- a/stacks/identity-and-security/vaultwarden/.env +++ b/stacks/identity-and-security/vaultwarden/.env @@ -1,5 +1,5 @@ # Exposed HTTP port -HTTP_PORT=8080 +HTTP_PORT=80 # System time zone TZ=Etc/UTC diff --git a/stacks/media/audiobookshelf/.env b/stacks/media/audiobookshelf/.env index da669c3..e7539ad 100644 --- a/stacks/media/audiobookshelf/.env +++ b/stacks/media/audiobookshelf/.env @@ -1,5 +1,5 @@ # Exposed HTTP port -HTTP_PORT=13248 +HTTP_PORT=80 # System time zone TZ=Etc/UTC diff --git a/stacks/media/beets/.env b/stacks/media/beets/.env index 0b73acf..647f6a5 100644 --- a/stacks/media/beets/.env +++ b/stacks/media/beets/.env @@ -1,5 +1,5 @@ # Exposed HTTP port -HTTP_PORT=8164 +HTTP_PORT=8337 # System time zone TZ=Etc/UTC diff --git a/stacks/media/calibre-web-automated/.env b/stacks/media/calibre-web-automated/.env index e908216..dd50d84 100644 --- a/stacks/media/calibre-web-automated/.env +++ b/stacks/media/calibre-web-automated/.env @@ -1,5 +1,5 @@ # Exposed HTTP port -HTTP_PORT=5297 +HTTP_PORT=8083 # System time zone TZ=Etc/UTC diff --git a/stacks/media/calibre/.env b/stacks/media/calibre/.env index 1b4d507..522b2f2 100644 --- a/stacks/media/calibre/.env +++ b/stacks/media/calibre/.env @@ -1,5 +1,5 @@ # Exposed HTTP port -HTTP_PORT=8277 +HTTP_PORT=8080 # System time zone TZ=Etc/UTC diff --git a/stacks/media/immich/.env b/stacks/media/immich/.env index 4f523ac..5b20922 100644 --- a/stacks/media/immich/.env +++ b/stacks/media/immich/.env @@ -1,5 +1,5 @@ # Exposed HTTP port -HTTP_PORT=3466 +HTTP_PORT=2283 # System time zone TZ=Etc/UTC diff --git a/stacks/media/jellyfin/.env b/stacks/media/jellyfin/.env index 42d4a85..6f10313 100644 --- a/stacks/media/jellyfin/.env +++ b/stacks/media/jellyfin/.env @@ -1,5 +1,5 @@ # Exposed HTTP port -HTTP_PORT=8069 +HTTP_PORT=8096 # System time zone TZ=Etc/UTC diff --git a/stacks/media/lidarr/.env b/stacks/media/lidarr/.env index 7de4bbd..504eb3c 100644 --- a/stacks/media/lidarr/.env +++ b/stacks/media/lidarr/.env @@ -1,5 +1,5 @@ # Exposed HTTP port -HTTP_PORT=8057 +HTTP_PORT=8686 # System time zone TZ=Etc/UTC diff --git a/stacks/media/radarr/.env b/stacks/media/radarr/.env index 05cc3eb..f8bca33 100644 --- a/stacks/media/radarr/.env +++ b/stacks/media/radarr/.env @@ -1,5 +1,5 @@ # Exposed HTTP port -HTTP_PORT=7482 +HTTP_PORT=7878 # System time zone TZ=Etc/UTC diff --git a/stacks/media/seerr/.env b/stacks/media/seerr/.env index a8a55fb..f64d47d 100644 --- a/stacks/media/seerr/.env +++ b/stacks/media/seerr/.env @@ -1,5 +1,5 @@ # Exposed HTTP port -HTTP_PORT=5395 +HTTP_PORT=5055 # System time zone TZ=Etc/UTC diff --git a/stacks/media/sonarr/.env b/stacks/media/sonarr/.env index f1a42b1..1fcc10e 100644 --- a/stacks/media/sonarr/.env +++ b/stacks/media/sonarr/.env @@ -1,5 +1,5 @@ # Exposed HTTP port -HTTP_PORT=8361 +HTTP_PORT=8989 # System time zone TZ=Etc/UTC diff --git a/stacks/platform/dashy/.env b/stacks/platform/dashy/.env index 634e214..c160dfa 100644 --- a/stacks/platform/dashy/.env +++ b/stacks/platform/dashy/.env @@ -1,5 +1,5 @@ # Exposed HTTP port -HTTP_PORT=10981 +HTTP_PORT=8080 # ID's PUID=1000 diff --git a/stacks/platform/dockhand/.env b/stacks/platform/dockhand/.env index 10248c5..7db1de8 100644 --- a/stacks/platform/dockhand/.env +++ b/stacks/platform/dockhand/.env @@ -1,2 +1,2 @@ # Exposed HTTP port -HTTP_PORT=3030 +HTTP_PORT=3000 diff --git a/stacks/platform/gitea/.env b/stacks/platform/gitea/.env index d85035f..4261311 100644 --- a/stacks/platform/gitea/.env +++ b/stacks/platform/gitea/.env @@ -5,7 +5,7 @@ TZ=Etc/UTC # Ports HTTP_PORT=3000 -SSH_PORT=2222 +SSH_PORT=22 # Postgres (shared creds, separate DBs/instances) # POSTGRES_PASSWORD — see .env.secrets (Vault) diff --git a/stacks/platform/kestra/.env b/stacks/platform/kestra/.env index 33ba2e1..198e763 100644 --- a/stacks/platform/kestra/.env +++ b/stacks/platform/kestra/.env @@ -1,5 +1,5 @@ # Exposed HTTP port -HTTP_PORT=10374 +HTTP_PORT=8080 # Basic-auth login USERNAME=admin@example.com diff --git a/stacks/platform/nocodb/.env b/stacks/platform/nocodb/.env index a99aaee..3d4b20a 100644 --- a/stacks/platform/nocodb/.env +++ b/stacks/platform/nocodb/.env @@ -1,5 +1,5 @@ # Exposed HTTP port -HTTP_PORT=8090 +HTTP_PORT=8080 # System time zone TZ=Etc/UTC diff --git a/stacks/platform/node-red/.env b/stacks/platform/node-red/.env index 60ba8d3..c075afb 100644 --- a/stacks/platform/node-red/.env +++ b/stacks/platform/node-red/.env @@ -1,5 +1,5 @@ # Exposed HTTP port -HTTP_PORT=1856 +HTTP_PORT=1880 # System time zone TZ=Etc/UTC diff --git a/stacks/platform/speedtest-tracker/.env b/stacks/platform/speedtest-tracker/.env index 4725d49..528c562 100644 --- a/stacks/platform/speedtest-tracker/.env +++ b/stacks/platform/speedtest-tracker/.env @@ -1,5 +1,5 @@ # Exposed HTTP port -HTTPS_PORT=6443 +HTTPS_PORT=443 # System time zone TZ=Etc/UTC diff --git a/stacks/productivity/actual/.env b/stacks/productivity/actual/.env index 7ba3eb3..1ad244a 100644 --- a/stacks/productivity/actual/.env +++ b/stacks/productivity/actual/.env @@ -1,5 +1,5 @@ # Exposed HTTP port -HTTP_PORT=5274 +HTTP_PORT=5006 # System time zone TZ=Etc/UTC diff --git a/stacks/productivity/firefly-iii/.env b/stacks/productivity/firefly-iii/.env index 33c7ab6..e1fcf77 100644 --- a/stacks/productivity/firefly-iii/.env +++ b/stacks/productivity/firefly-iii/.env @@ -1,6 +1,6 @@ # Exposed HTTP port -HTTP_PORT=56678 -DB_PORT=13306 +HTTP_PORT=8080 +DB_PORT=3306 # System time zone TZ=Etc/UTC diff --git a/stacks/productivity/ghost/.env b/stacks/productivity/ghost/.env index 68adde4..6429fb5 100644 --- a/stacks/productivity/ghost/.env +++ b/stacks/productivity/ghost/.env @@ -1,4 +1,4 @@ -HTTP_PORT=10368 +HTTP_PORT=2368 TZ=Etc/UTC GHOST_URL=https://blog.example.com @@ -9,7 +9,7 @@ DB_HOST=ghost_db DB_NAME=ghostdb DB_USER=ghostuser -UMAMI_PORT=3050 +UMAMI_PORT=3000 UMAMI_DB_NAME=umami UMAMI_DB_USER=umami diff --git a/stacks/productivity/home-assistant/.env b/stacks/productivity/home-assistant/.env index feaf580..1693d39 100644 --- a/stacks/productivity/home-assistant/.env +++ b/stacks/productivity/home-assistant/.env @@ -1,5 +1,5 @@ # Exposed HTTP port -HTTP_PORT=4719 +HTTP_PORT=8123 # System time zone TZ=Etc/UTC diff --git a/stacks/productivity/n8n/.env b/stacks/productivity/n8n/.env index 8cdbaee..b775e71 100644 --- a/stacks/productivity/n8n/.env +++ b/stacks/productivity/n8n/.env @@ -1,7 +1,6 @@ # Exposed HTTP port N8N_PORT=5678 -POSTGRES_PORT=5442 -ADMINER_PORT=8091 +POSTGRES_PORT=5432 N8N_HOST=n8n.local.example.com # System time zone diff --git a/stacks/productivity/n8n/docker-compose.yaml b/stacks/productivity/n8n/docker-compose.yaml index c4b5052..574dd64 100644 --- a/stacks/productivity/n8n/docker-compose.yaml +++ b/stacks/productivity/n8n/docker-compose.yaml @@ -50,15 +50,6 @@ services: networks: - n8n-net - adminer: - image: adminer:latest - container_name: adminer - restart: unless-stopped - ports: - - "127.0.0.1:${ADMINER_PORT}:8080" - networks: - - n8n-net - networks: n8n-net: external: true diff --git a/stacks/productivity/paperless-ngx/.env b/stacks/productivity/paperless-ngx/.env index e69cbbd..068b767 100644 --- a/stacks/productivity/paperless-ngx/.env +++ b/stacks/productivity/paperless-ngx/.env @@ -1,5 +1,5 @@ # Exposed HTTP port -HTTP_PORT=8926 +HTTP_PORT=8000 # Credentials POSTGRES_DB=paperless diff --git a/stacks/productivity/trilium/.env b/stacks/productivity/trilium/.env index 04e4274..522b2f2 100644 --- a/stacks/productivity/trilium/.env +++ b/stacks/productivity/trilium/.env @@ -1,5 +1,5 @@ # Exposed HTTP port -HTTP_PORT=8081 +HTTP_PORT=8080 # System time zone TZ=Etc/UTC