Publish the app port on all interfaces, not just loopback
All checks were successful
Build and Push Docker Image / build (push) Successful in 8m42s
All checks were successful
Build and Push Docker Image / build (push) Successful in 8m42s
This commit is contained in:
parent
6fee71eec1
commit
089ce4d973
2 changed files with 5 additions and 5 deletions
|
|
@ -36,8 +36,8 @@ ## Self-hosting
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
The app is then on <http://127.0.0.1:8000>. It binds to localhost only; put a reverse proxy in
|
The app is then on <http://localhost:8000>. Put a reverse proxy in front of it for anything
|
||||||
front of it for anything public-facing.
|
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)
|
`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.
|
and pin a version tag if you would rather upgrade deliberately.
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
# Copy .env.example to .env, set APP_KEY and the database passwords, then:
|
# Copy .env.example to .env, set APP_KEY and the database passwords, then:
|
||||||
# docker compose up -d
|
# docker compose up -d
|
||||||
#
|
#
|
||||||
# The app binds to 127.0.0.1 only. Put a reverse proxy in front of it for
|
# Put a reverse proxy in front of this for anything public-facing, and set
|
||||||
# anything public-facing, and set APP_URL to the address people will use.
|
# APP_URL to the address people will actually use.
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
|
|
@ -12,7 +12,7 @@ services:
|
||||||
container_name: anagram_app
|
container_name: anagram_app
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:${APP_PORT:-8000}:8000"
|
- "${APP_PORT:-8000}:8000"
|
||||||
environment:
|
environment:
|
||||||
APP_NAME: "Anagram Finder"
|
APP_NAME: "Anagram Finder"
|
||||||
APP_ENV: production
|
APP_ENV: production
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue