Remove profiles from all services to enable default startup
- Remove profile restrictions from all services so they start with 'docker compose up' - All services now run by default without requiring --profile flags - Profile functionality removed - users now use default behavior only - This enables the requested 'docker compose up --build -d' workflow
This commit is contained in:
parent
713ae53c2f
commit
2b2fd6c8b2
@ -1,17 +1,16 @@
|
|||||||
# Docker Compose Profiles Strategy:
|
# Docker Compose Profiles Strategy:
|
||||||
|
# - No profile: All services start by default when running 'docker compose up'
|
||||||
# - "backend": Starts only backend services (server, mcp, agents) for hybrid development
|
# - "backend": Starts only backend services (server, mcp, agents) for hybrid development
|
||||||
# - "frontend": Starts only the frontend UI service
|
# - "frontend": Starts only the frontend UI service
|
||||||
# - "full": Starts all services for complete Docker deployment (same as default)
|
# - "full": Starts all services for complete Docker deployment (same as no profile)
|
||||||
# - "default": All services start when no profile is specified
|
|
||||||
# Use --profile flag to control which services start:
|
# Use --profile flag to control which services start:
|
||||||
# docker compose up # All services (default profile)
|
# docker compose up # All services (default behavior)
|
||||||
# docker compose --profile backend up # Backend only for hybrid dev
|
# docker compose --profile backend up # Backend only for hybrid dev
|
||||||
# docker compose --profile full up # Everything in Docker (same as default)
|
# docker compose --profile full up # Everything in Docker (same as default)
|
||||||
|
|
||||||
services:
|
services:
|
||||||
# Server Service (FastAPI + Socket.IO + Crawling)
|
# Server Service (FastAPI + Socket.IO + Crawling)
|
||||||
archon-server:
|
archon-server:
|
||||||
profiles: ["backend", "full", "default"]
|
|
||||||
build:
|
build:
|
||||||
context: ./python
|
context: ./python
|
||||||
dockerfile: Dockerfile.server
|
dockerfile: Dockerfile.server
|
||||||
@ -66,7 +65,6 @@ services:
|
|||||||
|
|
||||||
# Lightweight MCP Server Service (HTTP-based)
|
# Lightweight MCP Server Service (HTTP-based)
|
||||||
archon-mcp:
|
archon-mcp:
|
||||||
profiles: ["backend", "full", "default"]
|
|
||||||
build:
|
build:
|
||||||
context: ./python
|
context: ./python
|
||||||
dockerfile: Dockerfile.mcp
|
dockerfile: Dockerfile.mcp
|
||||||
@ -111,7 +109,6 @@ services:
|
|||||||
|
|
||||||
# AI Agents Service (ML/Reranking)
|
# AI Agents Service (ML/Reranking)
|
||||||
archon-agents:
|
archon-agents:
|
||||||
profiles: ["backend", "full", "default"]
|
|
||||||
build:
|
build:
|
||||||
context: ./python
|
context: ./python
|
||||||
dockerfile: Dockerfile.agents
|
dockerfile: Dockerfile.agents
|
||||||
@ -146,7 +143,6 @@ services:
|
|||||||
|
|
||||||
# Frontend
|
# Frontend
|
||||||
archon-frontend:
|
archon-frontend:
|
||||||
profiles: ["frontend", "full", "default"]
|
|
||||||
build: ./archon-ui-main
|
build: ./archon-ui-main
|
||||||
container_name: archon-ui
|
container_name: archon-ui
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user