fix: set marketplace DATABASE_URL in systemd unit
All checks were successful
Cross-Node Transaction Testing / transaction-test (push) Successful in 10s
Deploy to Testnet / deploy-testnet (push) Successful in 1m11s
Multi-Node Stress Testing / stress-test (push) Successful in 4s
Node Failover Simulation / failover-test (push) Successful in 2s
Systemd Sync / sync-systemd (push) Successful in 18s
All checks were successful
Cross-Node Transaction Testing / transaction-test (push) Successful in 10s
Deploy to Testnet / deploy-testnet (push) Successful in 1m11s
Multi-Node Stress Testing / stress-test (push) Successful in 4s
Node Failover Simulation / failover-test (push) Successful in 2s
Systemd Sync / sync-systemd (push) Successful in 18s
This commit is contained in:
@@ -8,6 +8,7 @@ User=root
|
||||
WorkingDirectory=/opt/aitbc/apps/marketplace-service
|
||||
Environment="PATH=/opt/aitbc/venv/bin:/usr/local/bin:/usr/bin:/bin"
|
||||
Environment="PYTHONPATH=/opt/aitbc/apps/marketplace-service/src:/opt/aitbc/packages/py/aitbc-core/src:$PYTHONPATH"
|
||||
Environment="DATABASE_URL=postgresql+asyncpg://aitbc_marketplace:password@localhost:5432/aitbc_marketplace"
|
||||
ExecStart=/opt/aitbc/venv/bin/python -m marketplace_service.main
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
|
||||
Reference in New Issue
Block a user