From 089ce4d97381e3afcf7f2a799e48618cc8fb68d6 Mon Sep 17 00:00:00 2001 From: myrmidex Date: Sun, 23 Aug 2026 23:18:38 +0200 Subject: [PATCH] Publish the app port on all interfaces, not just loopback --- README.md | 4 ++-- compose.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3beb576..c1a8bd6 100644 --- a/README.md +++ b/README.md @@ -36,8 +36,8 @@ ## Self-hosting docker compose up -d ``` -The app is then on . It binds to localhost only; put a reverse proxy in -front of it for anything public-facing. +The app is then on . Put a reverse proxy in front of it for anything +public-facing, and set `APP_URL` to the address people will actually use. `compose.yaml` pins `:latest`. Check [Releases](https://forge.lvl0.xyz/anagram-finder/web/releases) and pin a version tag if you would rather upgrade deliberately. diff --git a/compose.yaml b/compose.yaml index 0be59ea..0421028 100644 --- a/compose.yaml +++ b/compose.yaml @@ -3,8 +3,8 @@ # Copy .env.example to .env, set APP_KEY and the database passwords, then: # docker compose up -d # -# The app binds to 127.0.0.1 only. Put a reverse proxy in front of it for -# anything public-facing, and set APP_URL to the address people will use. +# Put a reverse proxy in front of this for anything public-facing, and set +# APP_URL to the address people will actually use. services: app: @@ -12,7 +12,7 @@ services: container_name: anagram_app restart: unless-stopped ports: - - "127.0.0.1:${APP_PORT:-8000}:8000" + - "${APP_PORT:-8000}:8000" environment: APP_NAME: "Anagram Finder" APP_ENV: production