<?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.n8n.main</string>
    
    <key>UserName</key>
    <string>accusys</string>
    
    <key>WorkingDirectory</key>
    <string>/Users/accusys/momentry/var/n8n</string>
    
    <key>ProgramArguments</key>
    <array>
        <string>/Users/accusys/momentry/scripts/start_n8n.sh</string>
        <string>start</string>
    </array>
    
    <key>EnvironmentVariables</key>
    <dict>
        <key>PATH</key>
        <string>/opt/homebrew/opt/node@22/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
        
        <key>N8N_ENCRYPTION_KEY</key>
        <string>Test3200Test3200Test3200</string>
        
        <key>DOMAIN_NAME</key>
        <string>n8n.momentry.ddns.net</string>
        
        <key>WEBHOOK_URL</key>
        <string>https://n8n.momentry.ddns.net/</string>
        
        <key>N8N_PORT</key>
        <string>5678</string>
        
        <key>N8N_HOST</key>
        <string>127.0.0.1</string>
        
        <key>N8N_LISTEN_ADDRESS</key>
        <string>0.0.0.0</string>
        
        <key>N8N_USER_MANAGEMENT_JWT_DURATION</key>
        <string>1h</string>
        
        <key>N8N_RUNNERS_ENABLED</key>
        <string>false</string>
        
        <key>GENERIC_TIMEZONE</key>
        <string>Asia/Taipei</string>
        
        <key>TZ</key>
        <string>Asia/Taipei</string>
        
        <key>N8N_LOG_LEVEL</key>
        <string>info</string>
        
        <key>DB_TYPE</key>
        <string>postgresdb</string>
        
        <key>DB_POSTGRESDB_HOST</key>
        <string>127.0.0.1</string>
        
        <key>DB_POSTGRESDB_PORT</key>
        <string>5432</string>
        
        <key>DB_POSTGRESDB_DATABASE</key>
        <string>n8n</string>
        
        <key>DB_POSTGRESDB_USER</key>
        <string>n8n</string>
        
        <key>DB_POSTGRESDB_PASSWORD</key>
        <string>accusys</string>
        
        <key>EXECUTIONS_MODE</key>
        <string>queue</string>
        
        <key>QUEUE_BULL_REDIS_HOST</key>
        <string>127.0.0.1</string>
        
        <key>QUEUE_BULL_REDIS_PORT</key>
        <string>6379</string>
        
        <key>QUEUE_BULL_REDIS_PASSWORD</key>
        <string>accusys</string>
        
        <key>N8N_USER_FOLDER</key>
        <string>/Users/accusys/momentry/var/n8n</string>
        
        <key>N8N_METRICS</key>
        <string>true</string>
        
        <key>N8N_PUBLIC_API_ENABLED</key>
        <string>true</string>
    </dict>
    
    <key>RunAtLoad</key>
    <true/>
    
    <key>KeepAlive</key>
    <true/>
    
    <key>StandardOutPath</key>
    <string>/Users/accusys/momentry/log/n8n-main.log</string>
    
    <key>StandardErrorPath</key>
    <string>/Users/accusys/momentry/log/n8n-main.error.log</string>
</dict>
</plist>
