Self-host HortusFox with Levelrail

A collaborative plant management app for home gardens and plant collections.

How to self-host HortusFox

  1. Pull the images

    2 images are pulled on your server.

    Show images
    • ghcr.io/danielbrendel/hortusfox-web:v6.4
    • mariadb:11
  2. Create the app

    2 services start in a single Compose app, with 6 named volume mounts for your data, on port 80.

  3. Fill in the secrets

    4 secrets are generated and stored encrypted, 9 settings are preset, you do not have to fill in anything.

  4. Open it

    Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.

HortusFox requirements

Memory
About 512 MiB
Architectures
amd64 unknown, arm64 unknown
Ports
80
Domain
Optional, an sslip.io address is used without one
Settings
none to fill in
License
MIT, permissive license
  • Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.

Install Levelrail first

On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then HortusFox. New to Levelrail? Install it on a fresh VPS first.

docker pull ghcr.io/glincker/levelrail:latest

Then levelrail-cli login --device. See Getting started and the HortusFox docs page.

Deploy HortusFox your way

Every format below deploys the same pinned images. Pick the one that fits how you work.

Deploy HortusFox from the CLI

levelrail-cli templates deploy hortusfox --name my-hortusfox

Deploy HortusFox with the API

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/hortusfox/deploy

HortusFox configuration

HortusFox services

ServiceImagePortsVolumes
app ghcr.io/danielbrendel/hortusfox-web:v6.4 80 app_images -> /var/www/html/public/imgapp_logs -> /var/www/html/app/logsapp_backup -> /var/www/html/public/backupapp_themes -> /var/www/html/public/themesapp_migrate -> /var/www/html/app/migrations
db mariadb:11 none db_data -> /var/lib/mysql

HortusFox environment variables

VariableServiceValue
APP_ADMIN_EMAIL app Preset by the template
APP_ADMIN_PASSWORD app Generated at deploy
APP_TIMEZONE app Preset by the template
DB_CHARSET app Preset by the template
DB_DATABASE app Preset by the template
DB_HOST app Preset by the template
DB_PASSWORD app Generated at deploy
DB_PORT app Preset by the template
Show all 13 variables
  • DB_USERNAMEappPreset by the template
  • MARIADB_DATABASEdbPreset by the template
  • MARIADB_PASSWORDdbGenerated at deploy
  • MARIADB_ROOT_PASSWORDdbGenerated at deploy
  • MARIADB_USERdbPreset by the template

Ports and volumes

Ports
80
Volumes
6 named mounts: app_images -> /var/www/html/public/img, app_logs -> /var/www/html/app/logs, app_backup -> /var/www/html/public/backup, app_themes -> /var/www/html/public/themes, app_migrate -> /var/www/html/app/migrations, db_data -> /var/lib/mysql

HortusFox FAQ

How much memory does HortusFox need?

The catalog lists about 512 MiB of memory for HortusFox across its 2 services.

Does HortusFox run on arm64?

For HortusFox, arm64 support is not confirmed; amd64 is unknown.

What licence is HortusFox under?

HortusFox is licensed under MIT, which is permissive, with few conditions on reuse.

Does HortusFox need configuration before it starts?

No. The template fills in its own defaults and generates secrets at deploy time.

Which database does HortusFox bundle?

The template includes MySQL, running as its own service.

Which ports does HortusFox use?

HortusFox listens on port 80 inside the stack.

Where does HortusFox keep its data?

In named volumes: app_images mounted at /var/www/html/public/img, app_logs mounted at /var/www/html/app/logs, app_backup mounted at /var/www/html/public/backup and app_themes mounted at /var/www/html/public/themes.

Can I deploy HortusFox on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id hortusfox for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image ghcr.io/danielbrendel/hortusfox-web:v6.4, mariadb:11 is what you deploy there.

levelrail-cli templates deploy hortusfox --name my-hortusfox