# ============================================ # DeepTutor (podman compose) — host-side configuration # ============================================ # Copy to .env and edit. `.env` is gitignored. # # All values are loopback bindings on the HOST side. The container-side # ports come from data/user/settings/system.json (backend_port, frontend_port). # Edit those + `podman compose restart deeptutor` to change the in-container # ports. This file is for shifting the host-side mapping only. # # The API base URL the browser uses is NOT a compose env var. The # entrypoint reads `DEEPTUTOR_API_BASE_URL` from # data/user/settings/system.json on every start (preferring the # in-network `next_public_api_base`, then the external override # `next_public_api_base_external`, then `http://localhost:${BACKEND_PORT}`), # and web/proxy.ts rewrites /api/* and /ws/* to it at request time. # ============================================ # Host-side loopback bindings (override if 8001/3782/8090 are taken) HOST_PORT_BACKEND=8001 HOST_PORT_FRONTEND=3782 HOST_PORT_POCKETBASE=8090 # Time zone passed into both backend and frontend. TZ=UTC