Update docker-compose.yaml

This commit is contained in:
Dustin Loring
2024-12-01 07:17:34 -05:00
committed by GitHub
parent 416f7f9097
commit 9d826371a6

View File

@@ -1,5 +1,5 @@
services:
bolt-ai:
app-prod:
image: bolt-ai:production
build:
context: .
@@ -27,9 +27,9 @@ services:
- "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
@@ -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"]