Make Docker web port configurable
This commit is contained in:
parent
577f2cfc18
commit
415d115b17
3 changed files with 7 additions and 1 deletions
|
|
@ -49,6 +49,10 @@ SEARXNG_INSTANCE=http://localhost:8080
|
||||||
# Enable authentication (default: true)
|
# Enable authentication (default: true)
|
||||||
# AUTH_ENABLED=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.
|
# Development-only auth bypass for loopback requests.
|
||||||
# Keep false for Docker, LAN, reverse proxy, and any shared deployment.
|
# Keep false for Docker, LAN, reverse proxy, and any shared deployment.
|
||||||
# LOCALHOST_BYPASS=false
|
# LOCALHOST_BYPASS=false
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,8 @@ docker compose up -d --build
|
||||||
```
|
```
|
||||||
Compose starts Odysseus, ChromaDB, SearXNG, and ntfy. First run does a full
|
Compose starts Odysseus, ChromaDB, SearXNG, and ntfy. First run does a full
|
||||||
image build. Open `http://localhost:7000` after the containers are healthy.
|
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`
|
Cookbook remote servers use an Odysseus-owned SSH key from `./data/ssh`
|
||||||
inside Docker. In **Cookbook -> Settings -> Servers**, generate/copy the
|
inside Docker. In **Cookbook -> Settings -> Servers**, generate/copy the
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ services:
|
||||||
odysseus:
|
odysseus:
|
||||||
build: .
|
build: .
|
||||||
ports:
|
ports:
|
||||||
- "7000:7000"
|
- "${APP_PORT:-7000}:7000"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/app/data
|
- ./data:/app/data
|
||||||
- ./logs:/app/logs
|
- ./logs:/app/logs
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue