Update NEO4J_AUTH in .env.example and add neo4j_server service in production.yml

This commit is contained in:
2024-04-29 14:44:35 +08:00
parent a496d40fff
commit 67f99fb9ed
2 changed files with 25 additions and 0 deletions
+2
View File
@@ -40,6 +40,8 @@ MYSQL_PASSWORD=123456
MINIO_ROOT_USER=admin
MINIO_ROOT_PASSWORD=123456
NEO4J_AUTH=admin/12345678
#=====================================================================#
# LibreChat Configuration #
#=====================================================================#
+23
View File
@@ -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