<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.momentry.api</string>
    
    <key>UserName</key>
    <string>accusys</string>
    
    <key>GroupName</key>
    <string>staff</string>
    
    <key>WorkingDirectory</key>
    <string>/Users/accusys/momentry_core_0.1</string>
    
    <key>ProgramArguments</key>
    <array>
        <string>/Users/accusys/momentry_core_0.1/target/release/momentry</string>
        <string>server</string>
        <string>--port</string>
        <string>3002</string>
    </array>
    
    <key>EnvironmentVariables</key>
    <dict>
        <key>PATH</key>
        <string>/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
        
        <key>DATABASE_URL</key>
        <string>postgres://accusys@localhost:5432/momentry</string>
        
        <key>DB_MAX_CONNECTIONS</key>
        <string>50</string>
        
        <key>DB_ACQUIRE_TIMEOUT</key>
        <string>30</string>
        
        <key>REDIS_URL</key>
        <string>redis://:accusys@localhost:6379</string>
        
        <key>REDIS_PASSWORD</key>
        <string>accusys</string>
        
        <key>OLLAMA_HOST</key>
        <string>http://localhost:11434</string>
        
        <key>QDRANT_URL</key>
        <string>http://127.0.0.1:6333</string>
    </dict>
    
    <key>RunAtLoad</key>
    <true/>
    
    <key>KeepAlive</key>
    <true/>
    
    <key>StandardOutPath</key>
    <string>/Users/accusys/momentry/log/momentry_api.log</string>
    
    <key>StandardErrorPath</key>
    <string>/Users/accusys/momentry/log/momentry_api.error.log</string>
</dict>
</plist>