diff --git a/.env.example b/.env.example index 642be46..8fe81a4 100644 --- a/.env.example +++ b/.env.example @@ -40,6 +40,8 @@ MYSQL_PASSWORD=123456 MINIO_ROOT_USER=admin MINIO_ROOT_PASSWORD=123456 +NEO4J_AUTH=admin/12345678 + #=====================================================================# # LibreChat Configuration # #=====================================================================# diff --git a/production.yml b/production.yml index 399c082..55680a4 100644 --- a/production.yml +++ b/production.yml @@ -204,6 +204,29 @@ services: # - default # command: streamlit run --server.port=$STREAMLIT_FIN_SERVER_PORT --server.address=0.0.0.0 --server.baseUrlPath=$FIN_LOCATION src/app.py + neo4j_server: + # Docker image to be used + image: ${NEO4J_DOCKER_IMAGE:-neo4j:latest} + container_name: neo4j_server + restart: unless-stopped + # Environment variables + environment: + NEO4J_AUTH: admin/${NEO4J_PASSWORD:-12345678} + NEO4J_dbms_memory_pagecache_size: 512M + NEO4J_server_memory_heap_max__size: 2G + user: "1000:1000" + # Volumes + volumes: + - ./neo4j/data:/data + - ./neo4j/logs:/logs + # Expose ports + ports: + - "7474:7474" + - "7687:7687" + networks: + - net + - default + site_server: image: nginx:alpine container_name: site_server