mirror of
https://github.com/coleam00/bolt.new-any-llm
synced 2024-12-27 22:33:03 +00:00
Update docker-compose.yaml
This commit is contained in:
parent
416f7f9097
commit
9d826371a6
@ -1,5 +1,5 @@
|
||||
services:
|
||||
bolt-ai:
|
||||
app-prod:
|
||||
image: bolt-ai:production
|
||||
build:
|
||||
context: .
|
||||
@ -24,12 +24,12 @@ services:
|
||||
- DEFAULT_NUM_CTX=${DEFAULT_NUM_CTX:-32768}
|
||||
- RUNNING_IN_DOCKER=true
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
- "host.docker.internal:host-gateway"
|
||||
command: pnpm run dockerstart
|
||||
profiles:
|
||||
- production # This service only runs in the production profile
|
||||
- production
|
||||
|
||||
bolt-ai-dev:
|
||||
app-dev:
|
||||
image: bolt-ai:development
|
||||
build:
|
||||
target: bolt-ai-development
|
||||
@ -39,7 +39,7 @@ services:
|
||||
- VITE_HMR_HOST=localhost
|
||||
- VITE_HMR_PORT=5173
|
||||
- CHOKIDAR_USEPOLLING=true
|
||||
- WATCHPACK_POLLING=true
|
||||
- WATCHPACK_POLLING=true
|
||||
- PORT=5173
|
||||
- GROQ_API_KEY=${GROQ_API_KEY}
|
||||
- HuggingFace_API_KEY=${HuggingFace_API_KEY}
|
||||
@ -52,7 +52,7 @@ services:
|
||||
- DEFAULT_NUM_CTX=${DEFAULT_NUM_CTX:-32768}
|
||||
- RUNNING_IN_DOCKER=true
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
- "host.docker.internal:host-gateway"
|
||||
volumes:
|
||||
- type: bind
|
||||
source: .
|
||||
@ -60,6 +60,6 @@ services:
|
||||
consistency: cached
|
||||
- /app/node_modules
|
||||
ports:
|
||||
- "5173:5173" # Same port, no conflict as only one runs at a time
|
||||
- "5173:5173"
|
||||
command: pnpm run dev --host 0.0.0.0
|
||||
profiles: ["development", "default"] # Make development the default profile
|
||||
profiles: ["development", "default"]
|
||||
|
Loading…
Reference in New Issue
Block a user