chore: standardize configuration, logging, and error handling across blockchain node and coordinator API
- Add infrastructure.md and workflow files to .gitignore to prevent sensitive info leaks - Change blockchain node mempool backend default from memory to database for persistence - Refactor blockchain node logger with StructuredLogFormatter and AuditLogger (consistent with coordinator) - Add structured logging fields: service, module, function, line number - Unify coordinator config with Database
This commit is contained in:
@@ -7,10 +7,10 @@ Wants=network.target
|
||||
Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
WorkingDirectory=/root/aitbc/apps/wallet-daemon
|
||||
Environment=PATH=/root/aitbc/.venv/bin
|
||||
Environment=PYTHONPATH=/root/aitbc/apps/wallet-daemon
|
||||
ExecStart=/root/aitbc/.venv/bin/python -m wallet_daemon.main --host 0.0.0.0 --port 8001
|
||||
WorkingDirectory=/opt/wallet-daemon
|
||||
Environment=PATH=/opt/wallet-daemon/.venv/bin
|
||||
Environment=PYTHONPATH=/opt/wallet-daemon
|
||||
ExecStart=/opt/wallet-daemon/.venv/bin/python -m wallet_daemon.main --host 0.0.0.0 --port 8001
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
Reference in New Issue
Block a user