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/hosts
with your servers -
Configure vault Edit
group_vars/ar_io_nodes/vault.yml
with 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 installation
Edit 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_HOST
in the deployed.env
file - 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 -f
in/opt/ar-io-node