Make Docker web port configurable
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -2,7 +2,7 @@ services:
|
||||
odysseus:
|
||||
build: .
|
||||
ports:
|
||||
- "7000:7000"
|
||||
- "${APP_PORT:-7000}:7000"
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
- ./logs:/app/logs
|
||||
|
||||
Reference in New Issue
Block a user