repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | name: mem0-dev |
| #2 | |
| #3 | services: |
| #4 | mem0: |
| #5 | build: |
| #6 | context: .. # Set context to parent directory |
| #7 | dockerfile: server/dev.Dockerfile |
| #8 | ports: |
| #9 | - "8888:8000" |
| #10 | env_file: |
| #11 | - .env |
| #12 | networks: |
| #13 | - mem0_network |
| #14 | volumes: |
| #15 | - ./history:/app/history # History db location. By default, it creates a history.db file on the server folder |
| #16 | - .:/app # Server code. This allows to reload the app when the server code is updated |
| #17 | - ../mem0:/app/packages/mem0 # Mem0 library. This allows to reload the app when the library code is updated |
| #18 | depends_on: |
| #19 | postgres: |
| #20 | condition: service_healthy |
| #21 | neo4j: |
| #22 | condition: service_healthy |
| #23 | command: uvicorn main:app --host 0.0.0.0 --port 8000 --reload # Enable auto-reload |
| #24 | environment: |
| #25 | - PYTHONDONTWRITEBYTECODE=1 # Prevents Python from writing .pyc files |
| #26 | - PYTHONUNBUFFERED=1 # Ensures Python output is sent straight to terminal |
| #27 | |
| #28 | postgres: |
| #29 | image: ankane/pgvector:v0.5.1 |
| #30 | restart: on-failure |
| #31 | shm_size: "128mb" # Increase this if vacuuming fails with a "no space left on device" error |
| #32 | networks: |
| #33 | - mem0_network |
| #34 | environment: |
| #35 | - POSTGRES_USER=postgres |
| #36 | - POSTGRES_PASSWORD=postgres |
| #37 | healthcheck: |
| #38 | test: ["CMD", "pg_isready", "-q", "-d", "postgres", "-U", "postgres"] |
| #39 | interval: 5s |
| #40 | timeout: 5s |
| #41 | retries: 5 |
| #42 | volumes: |
| #43 | - postgres_db:/var/lib/postgresql/data |
| #44 | ports: |
| #45 | - "8432:5432" |
| #46 | neo4j: |
| #47 | image: neo4j:5.26.4 |
| #48 | networks: |
| #49 | - mem0_network |
| #50 | healthcheck: |
| #51 | test: wget http://localhost:7687 || exit 1 |
| #52 | interval: 1s |
| #53 | timeout: 10s |
| #54 | retries: 20 |
| #55 | start_period: 90s |
| #56 | ports: |
| #57 | - "8474:7474" # HTTP |
| #58 | - "8687:7687" # Bolt |
| #59 | volumes: |
| #60 | - neo4j_data:/data |
| #61 | environment: |
| #62 | - NEO4J_AUTH=neo4j/mem0graph |
| #63 | - NEO4J_PLUGINS=["apoc"] # Add this line to install APOC |
| #64 | - NEO4J_apoc_export_file_enabled=true |
| #65 | - NEO4J_apoc_import_file_enabled=true |
| #66 | - NEO4J_apoc_import_file_use__neo4j__config=true |
| #67 | |
| #68 | volumes: |
| #69 | neo4j_data: |
| #70 | postgres_db: |
| #71 | |
| #72 | networks: |
| #73 | mem0_network: |
| #74 | driver: bridge |