fix: docker prod env variable fix (#1170)
* fix: docker prod env variable fix * lint and typecheck * removed hardcoded tag
This commit is contained in:
@@ -72,3 +72,21 @@ services:
|
||||
- "5173:5173"
|
||||
command: pnpm run dev --host 0.0.0.0
|
||||
profiles: ["development", "default"]
|
||||
|
||||
app-prebuild:
|
||||
image: ghcr.io/stackblitz-labs/bolt.diy:latest
|
||||
ports:
|
||||
- "5173:5173"
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- COMPOSE_PROFILES=production
|
||||
# No strictly needed but serving as hints for Coolify
|
||||
- PORT=5173
|
||||
- OLLAMA_API_BASE_URL=http://127.0.0.1:11434
|
||||
- DEFAULT_NUM_CTX=${DEFAULT_NUM_CTX:-32768}
|
||||
- RUNNING_IN_DOCKER=true
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
command: pnpm run dockerstart
|
||||
profiles:
|
||||
- prebuilt
|
||||
Reference in New Issue
Block a user