Switch Docker and Nginx container port to uncommon high port 28473
This commit is contained in:
1 parent
f86f5d8bef
commit
84b08f0cdb
5 files changed
+11
-9
No files matched your search
@@ -37,7 +37,7 @@ git push -u origin main
|
||||
|
||||
## Hosting in a Standalone Docker Container on Unraid
|
||||
|
||||
The repository includes a lightweight `nginx:1.27-alpine` [Dockerfile](./Dockerfile), [docker/nginx.conf](./docker/nginx.conf), and [docker-compose.yml](./docker-compose.yml) configured cleanly for reverse proxies (`absolute_redirect off`, `.mjs`/`.webp` MIME types, trailing-slash redirects, `/health` probe, port `80` inside the container).
|
||||
The repository includes a lightweight `nginx:1.27-alpine` [Dockerfile](./Dockerfile), [docker/nginx.conf](./docker/nginx.conf), and [docker-compose.yml](./docker-compose.yml) configured cleanly for reverse proxies (`absolute_redirect off`, `.mjs`/`.webp` MIME types, trailing-slash redirects, `/health` probe, running on uncommon high port `28473`).
|
||||
|
||||
### Option A — Build Directly on Unraid (`docker compose`)
|
||||
|
||||
@@ -59,9 +59,9 @@ docker compose up -d --build
|
||||
|
||||
### Option B — Reverse Proxy / Subdomain Setup (Nginx Proxy Manager / SWAG)
|
||||
|
||||
- **Default Compose port:** `8088` on Unraid → container port `80`
|
||||
- **Default Compose port:** `28473` on Unraid → container port `28473` (avoids `80`, `443`, `8080`, `8088`)
|
||||
- **Nginx Proxy Manager / SWAG target:**
|
||||
- Scheme: `http`
|
||||
- Scheme: `http` (Nginx Proxy Manager handles HTTPS/SSL termination for your subdomain)
|
||||
- Forward Hostname / IP: your Unraid IP (or `professor-oak-tracker` if both containers share a custom Docker bridge network like `proxynet`)
|
||||
- Forward Port: `8088` (if using host port mapping) or `80` (if sharing a Docker network)
|
||||
- Forward Port: `28473`
|
||||
- Enable Websockets: not required, standard HTTPS/SSL termination works out of the box (for example, `https://oak.trevorstocks.ca/`)
|
||||
Reference in new issue
Block a user