MicroFish/docker-compose.agent.yml

43 lines
1022 B
YAML

services:
neo4j:
image: neo4j:5.26-community
container_name: mirofish-neo4j
restart: unless-stopped
environment:
NEO4J_AUTH: ${NEO4J_USER:-neo4j}/${NEO4J_PASSWORD:-password}
NEO4J_dbms_default__database: ${NEO4J_DATABASE:-neo4j}
NEO4J_server_memory_heap_initial__size: 512m
NEO4J_server_memory_heap_max__size: 1G
NEO4J_server_memory_pagecache_size: 512m
ports:
- "7474:7474"
- "7687:7687"
volumes:
- neo4j_data:/data
- neo4j_logs:/logs
healthcheck:
test:
[
"CMD-SHELL",
"cypher-shell -u ${NEO4J_USER:-neo4j} -p ${NEO4J_PASSWORD:-password} 'RETURN 1' >/dev/null 2>&1",
]
interval: 10s
timeout: 10s
retries: 12
ollama:
image: ollama/ollama:latest
container_name: mirofish-ollama
profiles:
- ollama
restart: unless-stopped
ports:
- "11434:11434"
volumes:
- ollama_data:/root/.ollama
volumes:
neo4j_data:
neo4j_logs:
ollama_data: