Portal Configuration

Updated on June 23, 2025

VeilNet Portal Configuration #

Once your VeilNet Portal is deployed, you may want to customize its behavior or manage its settings. Most Portal configuration is done via environment variables passed at container startup, either through docker run or in your docker-compose.yaml.

This guide outlines the available configuration options and how to adjust them safely.

VariableDescriptionExample
VEILNET_ANCHOR_NAMEDisplay name of your portal in the Consolemy-home-portal
VEILNET_DOMAIN_NAMEDomain name associated with the portal (must match Console config)merlion
VEILNET_REGIONRegion this portal belongs to (must match selected region)sg / us / uk / au
VEILNET_ANCHOR_TOKENSecret token generated by Console for authentication(auto-generated)
VEILNET_GUARDIAN_URLURL of the VeilNet coordination serverhttps://guardian.veilnet.org
PUBLICWhether this portal is public or private (true or false)true

⚠️ Important: These values must match what’s in your downloaded manifest from the Console. Manual modification may invalidate your Portal’s signature.

 

Updating Portal Configuration #

If you need to change any of these values:

  • Docker: Stop and remove the running container, then re-run it with updated values.

  • Docker Compose: Edit docker-compose.yaml and run:

				
					docker compose down
docker compose up -d
				
			

⚠️ Region Mismatch Warning #

When configuring your VeilNet Portal, it is critical that the VEILNET_REGION environment variable matches the actual geographic region where the Portal is hosted.

For example:
If you’re hosting a Portal on a server physically located in the UK, you must set region as UK.

 

🚫 We do NOT collect your location #

VeilNet does not track, store, or process any user or server location data.

Instead, regional validation is performed indirectly through standard metadata headers inserted by Cloudflare during HTTPS requests to the Guardian service. These headers reflect the approximate server origin only at the infrastructure level and are never stored, analyzed, or linked to your account.

This ensures:

  • No user-level geolocation

  • No IP tracking by VeilNet

  • 100% privacy-preserving enforcement

 

Why it matters: #

Incorrect region settings may result in:

  • Traffic being routed inefficiently

  • Portals failing to link with domains in that region

  • Performance penalties or disconnections

✅ Always configure VEILNET_REGION according to the actual location of your server to ensure smooth operation and proper domain assignment — without ever compromising your privacy.