refactor: merge .env.production into central .env and standardize paths
Some checks failed
Documentation Validation / validate-docs (push) Has been cancelled
Systemd Sync / sync-systemd (push) Successful in 4s

- Merge blockchain-node/.env.production into central /opt/aitbc/.env
- Update all blockchain paths to use standardized /var/lib/aitbc/ structure
- Remove separate .env.production file (merged into central config)
- Update systemd services to remove references to .env.production
- Standardize Coordinator API paths and RPC port (8006)
- Add trusted_proposers setting for follower nodes
- Update multi-node workflow to reflect merged configuration
- Use aitbc1genesis as default proposer in central .env
- All services now use single central .env file with standardized paths

This eliminates configuration file duplication and ensures consistent
directory structure across all AITBC services.
This commit is contained in:
aitbc1
2026-03-29 14:39:42 +02:00
parent 2860b0c8c9
commit bb7f592560
5 changed files with 4 additions and 5 deletions

View File

@@ -9,7 +9,6 @@ Group=root
WorkingDirectory=/opt/aitbc/apps/blockchain-node
Environment=PATH=/usr/bin:/usr/local/bin:/usr/bin:/bin
Environment=PYTHONPATH=/opt/aitbc/apps/blockchain-node/src:/opt/aitbc/apps/blockchain-node/scripts
EnvironmentFile=/opt/aitbc/apps/blockchain-node/.env.production
ExecStart=/usr/bin/python3 -m aitbc_chain.p2p_network --host ${p2p_bind_host} --port ${p2p_bind_port} --redis ${gossip_broadcast_url} --node-id ${proposer_id}
Restart=always
RestartSec=5