Move JWT secret from inline environment variable to external secrets file for edge-api service
Some checks failed
Integration Tests / test-service-integration (push) Waiting to run
Security Scanning / security-scan (push) Waiting to run
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Some checks failed
Integration Tests / test-service-integration (push) Waiting to run
Security Scanning / security-scan (push) Waiting to run
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
This commit is contained in:
@@ -13,8 +13,8 @@ Environment="BLOCKCHAIN_RPC_HOST=localhost"
|
||||
Environment="BLOCKCHAIN_RPC_PORT=8006"
|
||||
Environment="GPU_SERVICE_HOST=localhost"
|
||||
Environment="GPU_SERVICE_PORT=8101"
|
||||
Environment="JWT_SECRET_KEY=CQNLjrtnUVGzdO1skuLsxoiPEEmav2Vj3aA302cvo8I"
|
||||
Environment="API_PORT=8103"
|
||||
EnvironmentFile=/etc/aitbc/secrets/jwt_secret
|
||||
ExecStart=/opt/aitbc/venv/bin/python -m aitbc_edge.main
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
|
||||
Reference in New Issue
Block a user