Make Docker web port configurable

This commit is contained in:
pewdiepie-archdaemon
2026-06-01 11:20:25 +09:00
parent 577f2cfc18
commit 415d115b17
3 changed files with 7 additions and 1 deletions

View File

@@ -49,6 +49,10 @@ SEARXNG_INSTANCE=http://localhost:8080
# Enable authentication (default: true)
# AUTH_ENABLED=true
# Host port for the Odysseus web UI in Docker Compose.
# Change this if another local service already uses 7000 (macOS AirPlay often does).
# APP_PORT=7000
# Development-only auth bypass for loopback requests.
# Keep false for Docker, LAN, reverse proxy, and any shared deployment.
# LOCALHOST_BYPASS=false

View File

@@ -56,6 +56,8 @@ docker compose up -d --build
```
Compose starts Odysseus, ChromaDB, SearXNG, and ntfy. First run does a full
image build. Open `http://localhost:7000` after the containers are healthy.
If port `7000` is already taken, set `APP_PORT=7001` (or another free port)
in `.env`, recreate the container, and open `http://localhost:7001`.
Cookbook remote servers use an Odysseus-owned SSH key from `./data/ssh`
inside Docker. In **Cookbook -> Settings -> Servers**, generate/copy the

View File

@@ -2,7 +2,7 @@ services:
odysseus:
build: .
ports:
- "7000:7000"
- "${APP_PORT:-7000}:7000"
volumes:
- ./data:/app/data
- ./logs:/app/logs