Skip to content

Repository files navigation

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.

KEYDESCRIPTION
SECRETThe secret keys to communicate to portal
SSL_WILDCARDSA comma separated lists of domains available for wildcard SSL sharing
NGINX_FREE_DOMAINWhich domain need to be added banner
ALLOW_IPIPs to allow API communication
FILESTASH_URLBase 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

About

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

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages