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.