Skip to content

Commit c067307

Browse files
committed
Remove task worker API from docker-compose.yml, use docker-compose-task-workers.yml instead
1 parent eb87d44 commit c067307

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

docker-compose.yml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -30,40 +30,6 @@ services:
3030
retries: 3
3131
# Uses default CMD from Dockerfile (--no-worker for development)
3232

33-
# For testing a production-like setup, you can run this API and the
34-
# task-worker container. This API container does NOT use --no-worker, so when
35-
# it starts background work, the task-worker will process those tasks.
36-
api-for-task-worker:
37-
build:
38-
context: .
39-
dockerfile: Dockerfile
40-
ports:
41-
- "8000:8000"
42-
environment:
43-
- REDIS_URL=redis://redis:6379
44-
- PORT=8000
45-
# Add your API keys here or use a .env file
46-
- OPENAI_API_KEY=${OPENAI_API_KEY}
47-
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
48-
# Optional configurations with defaults
49-
- LONG_TERM_MEMORY=True
50-
- GENERATION_MODEL=gpt-4o-mini
51-
- EMBEDDING_MODEL=text-embedding-3-small
52-
- ENABLE_TOPIC_EXTRACTION=True
53-
- ENABLE_NER=True
54-
depends_on:
55-
- redis
56-
volumes:
57-
- ./agent_memory_server:/app/agent_memory_server
58-
healthcheck:
59-
test: [ "CMD", "curl", "-f", "http://localhost:8000/v1/health" ]
60-
interval: 30s
61-
timeout: 10s
62-
retries: 3
63-
command: ["agent-memory", "api", "--host", "0.0.0.0", "--port", "8000"]
64-
65-
66-
6733
mcp:
6834
build:
6935
context: .

0 commit comments

Comments
 (0)