Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.59 KB

File metadata and controls

40 lines (28 loc) · 1.59 KB

DOM Cloud Bridge

The core script runner to control any server which has Virtualmin and Phusion Passenger boot together.

This service is used to control a server booted with DOM Cloud Instance. It's actually installed for each DOM Cloud servers.

Architecture details

To understand DOM Cloud servers architecture, read it on DOM Cloud docs.

To setup a VM from stratch and set up this service in that VM, see Container which contains a link to pre-made OS image.

Environment Variables

All environment variables are saved to .env file. Please note "Portal" below means my.domcloud.co.

KEY DESCRIPTION
SECRET The secret keys to communicate to portal
SSL_WILDCARDS A comma separated lists of domains available for wildcard SSL sharing
NGINX_FREE_DOMAIN Which domain need to be added banner
ALLOW_IP IPs to allow API communication
FILESTASH_URL Base URL for filestash endpoint

When adding a self-hosted instance to DOM Cloud portal, you'll want to set a strong SECRET and an allow list IP like below

SECRET="<your strong secret here>"
SSL_WILDCARDS=domcloud.dev,mnz.dom.my.id
NGINX_FREE_DOMAIN=dom.my.id
ALLOW_IP=159.89.198.103,2400:6180:0:d0::e08:a001
FILESTASH_URL=https://filestash.mnz.domcloud.co

Changelog

  • 1.4: Add swagger
  • 1.3: Add ports allocator for handling docker ports
  • 1.2: Upgrade implementation to nftables
  • 1.1: Add valkey implementation