[Unit]
Description=Memory Service (Simple ChromaDB Alternative)
After=network.target

[Service]
Type=simple
User=www-data
WorkingDirectory=/var/www/mssql.danmarcrm.com/openai/v9/memory-service
Environment="OPENAI_API_KEY=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"
Environment="PORT=5050"
ExecStart=/var/www/mssql.danmarcrm.com/openai/v9/memory-service/venv/bin/python /var/www/mssql.danmarcrm.com/openai/v9/memory-service/chroma_service_simple.py
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target

