This commit is contained in:
+7
-1
@@ -15,8 +15,14 @@ services:
|
||||
- "127.0.0.1:9876:9876"
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
# .env is optional: a bare `docker compose up --build` works with zero setup.
|
||||
# Put overrides here (OLLAMA_*, auth secrets, HOST, ...) to inject them into
|
||||
# the container — copy .env.example to .env and edit. `required: false` stops
|
||||
# a fresh clone (no .env) from failing with "env file .env not found".
|
||||
# Needs Docker Compose v2.24+ (Docker Desktop / recent WSL installs have it).
|
||||
env_file:
|
||||
- .env
|
||||
- path: .env
|
||||
required: false
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- PORT=9876
|
||||
|
||||
Reference in New Issue
Block a user