Ansible deployment for AR.IO Gateway nodes.
-
Clone the repository
git clone <repo-url> cd ansible-deployments
-
Create and activate venv
uv venv source .venv/bin/activate -
Install dependencies
uv sync
-
Configure inventory Edit
inventory/production/hostswith your servers -
Configure vault Edit
group_vars/ar_io_nodes/vault.ymlwith your domain and wallet addresses -
Deploy AR.IO Gateway
make test # Test connectivity make deploy-ar-io # Deploy the gateway
-
Test your gateway
curl -k --tlsv1.2 https://YOUR-SERVER-IP/info
playbooks/- AR.IO deployment playbooksinventory/- Server inventoriesgroup_vars/- Group variables and vault filesroles/- Reusable Ansible rolessecrets/- Sensitive data (git-ignored)
make help # Show available commands
make test # Test server connectivity
make deploy-ar-io # Deploy AR.IO gateway
make cleanup-ar-io # Remove AR.IO installationEdit group_vars/ar_io_nodes/vault.yml:
vault_domain_name: Your server IP or domainvault_ar_io_wallet: Your Arweave wallet addressvault_observer_wallet: Observer wallet address (can be same as above)
If you have a domain with wildcard DNS setup:
- Uncomment
ARNS_ROOT_HOSTin the deployed.envfile - Set it to your domain name
- Restart the containers
- Gateway serves content directly without ARNS redirects by default
- Self-signed SSL certificates are generated automatically
- Check container logs:
sudo docker-compose logs -fin/opt/ar-io-node