companion cloud service for automated server garden https://git.sequentialread.com/forest/greenhouse/
GreenhouseAPIKey -> GreenhouseAPIToken
add wildcard dns on free subdomain
small fixes from testing greenhouse desktop


browse  log 



You can also use your local clone with git send-email.


greenhouse logo

Greenhouse is a specialized cloud service designed to make self-hosting your own email, web services, etc, as easy as possible without compromising on privacy and security.

It was originally convieved as a companion cloud service for my Automated Server Garden project, but I ended up deciding to give up on Automated Server Garden for now and just focus on greenhouse instead.

In the future, Greenhouse will be easy to use with existing self-hosting solutions like yunohost, syncloud, and others.

For more information about greenhouse, see my blog post about it: The "Pragmatic Path" 4-Year Update: Introducing Greenhouse!


See: https://picopublish.sequentialread.com/files/mockup2.png

#setup local environment

Write the config file config.json in the root directory:

  "FrontendPort": 8080,
  "FrontendDomain": "localhost",
  "DatabaseConnectionString": "host=/var/run/postgresql port=5432 user=postgres password=dev database=postgres",
  "DatabaseType": "postgres",
  "DatabaseSchema": "public",
  "SMTP": {
    "Host": "<my email server>",
    "Port": <587 (SMTP+STARTTLS) or 465 (SMTPS)>,
    "Username": "<my email address>",
    "Password": "<my email password>",
    "Encryption": "<SMTPS or STARTTLS>"

Run the database:

mkdir -p postgres-data
docker run --rm -it -e POSTGRES_PASSWORD=dev -v /var/run/postgresql:/var/run/postgresql -v "$PWD/postgres-data":/var/lib/postgresql/data postgres

Run the app:

go run *.go

Inspect the database:

sudo apt-get install postgresql-client
PGPASSWORD=dev psql --host /var/run/postgresql --port 5432 --username postgres -d postgres -c 'select * from session_cookies'


architechture diagram

This diagram was created with https://app.diagrams.net/. To edit it, download the diagram file and edit it with the https://app.diagrams.net/ web application, or you may run the application from source if you wish.


  • Threshold (TCP reverse tunnel) as a service (multi-tenant or dedicated IP address)
  • Object Storage
  • free subdomains (like duckdns / freedns.afraid.org)
  • managed domain names (like njalla)