File size: 863 Bytes
86cbe3c
 
 
9d411a7
 
86cbe3c
9d411a7
 
 
 
86cbe3c
9d411a7
 
 
 
 
 
 
86cbe3c
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import os

# --- Neo4j Configuration ---
NEO4J_URI = os.getenv("NEO4J_BOLT_URL", "bolt://localhost:7687")
NEO4J_USER = "neo4j"

# The NEO4J_AUTH env var is in the format 'neo4j/password'
# We need to extract the password part.
neo4j_auth = os.getenv("NEO4J_AUTH", "neo4j/password")
NEO4J_PASSWORD = neo4j_auth.split('/')[1] if '/' in neo4j_auth else neo4j_auth

# --- Database Configuration ---
# A dictionary of connection strings for the SQLite databases
DB_CONNECTIONS = {
    "clinical_trials": f"sqlite:////app/data/clinical_trials.db",
    "drug_discovery": f"sqlite:////app/data/drug_discovery.db",
    "laboratory": f"sqlite:////app/data/laboratory.db",
}

# --- Application Settings ---
# You can add other application-wide settings here
# For example, API keys, logging levels, etc.
# These would typically be loaded from environment variables as well.