From de8df8a0b7e9fd69b346ccee59a92827c8793a65 Mon Sep 17 00:00:00 2001 From: Yury Kossakovsky Date: Fri, 30 Jan 2026 13:50:03 -0700 Subject: [PATCH] fix(postiz): use localhost instead of docker hostname for backend_internal_url the internal nginx in postiz container requires localhost, not the docker service name, as this url is used for proxying within the container itself. --- CHANGELOG.md | 5 +++++ docker-compose.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e94a96..198c745 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## [Unreleased] +## [1.2.4] - 2026-01-30 + +### Fixed +- **Postiz** - Fix `BACKEND_INTERNAL_URL` to use `localhost` instead of Docker hostname (internal nginx requires localhost) + ## [1.2.3] - 2026-01-29 ### Fixed diff --git a/docker-compose.yml b/docker-compose.yml index d7312c3..73224fc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -836,7 +836,7 @@ services: restart: always environment: <<: *proxy-env - BACKEND_INTERNAL_URL: http://postiz:3000 + BACKEND_INTERNAL_URL: http://localhost:3000 DATABASE_URL: "postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/${POSTIZ_DB_NAME:-postiz}?schema=postiz" DISABLE_REGISTRATION: ${POSTIZ_DISABLE_REGISTRATION} FRONTEND_URL: ${POSTIZ_HOSTNAME:+https://}${POSTIZ_HOSTNAME}