Deployment
Deploy a self-hosted Zoneless instance to a Linux server with Docker.
Connect
ssh root@YOUR_IP_ADDRESSInstall Docker
curl -fsSL https://get.docker.com | shClone
git clone https://github.com/zonelessdev/zoneless.git
cd zoneless
5Configure environment
Copy the production example and set your public dashboard URL, app secret, network, and tenancy mode. The example below uses mainnet. Set LIVEMODE=false for test mode (simulated funds by default). To test real Devnet transactions instead, also set SETTLEMENT_RAIL=onchain. See Environment variables for optional settings.
Copy the example file
cp .env.production.example .env.production
nano .env.production.env.production
DASHBOARD_URL=http://YOUR_IP_ADDRESS
APP_SECRET=your_generated_secret_here
LIVEMODE=true
SINGLE_TENANT=trueStart
docker compose --env-file .env.production up -d --build
7Check the deployment
Check the API using the server IP, then open http://YOUR_IP_ADDRESS/setup and complete the setup wizard.
Verify
curl http://YOUR_IP_ADDRESS/api/health