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:
|
||||
# - No profile: All services start by default when running 'docker compose up'
|
||||
# - "backend": Starts only backend services (server, mcp, agents) for hybrid development
|
||||
# - "frontend": Starts only the frontend UI service
|
||||
# - "full": Starts all services for complete Docker deployment (same as default)
|
||||
# - "default": All services start when no profile is specified
|
||||
# - "full": Starts all services for complete Docker deployment (same as no profile)
|
||||
# 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 full up # Everything in Docker (same as default)
|
||||
|
||||
services:
|
||||
# Server Service (FastAPI + Socket.IO + Crawling)
|
||||
archon-server:
|
||||
profiles: ["backend", "full", "default"]
|
||||
build:
|
||||
context: ./python
|
||||
dockerfile: Dockerfile.server
|
||||
@ -66,7 +65,6 @@ services:
|
||||
|
||||
# Lightweight MCP Server Service (HTTP-based)
|
||||
archon-mcp:
|
||||
profiles: ["backend", "full", "default"]
|
||||
build:
|
||||
context: ./python
|
||||
dockerfile: Dockerfile.mcp
|
||||
@ -111,7 +109,6 @@ services:
|
||||
|
||||
# AI Agents Service (ML/Reranking)
|
||||
archon-agents:
|
||||
profiles: ["backend", "full", "default"]
|
||||
build:
|
||||
context: ./python
|
||||
dockerfile: Dockerfile.agents
|
||||
@ -146,7 +143,6 @@ services:
|
||||
|
||||
# Frontend
|
||||
archon-frontend:
|
||||
profiles: ["frontend", "full", "default"]
|
||||
build: ./archon-ui-main
|
||||
container_name: archon-ui
|
||||
ports:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user