wtree Cloud

Databases

Create Postgres, MySQL, MariaDB, MongoDB, Redis or libSQL services and manage env, backups, resources and persistence.

Create a database service from a project and manage it from one set of tabs.

Supported engines

EngineBackups tab
PostgresYes
MySQLYes
MariaDBYes
MongoDBYes
libSQL (sqld, network-accessible SQLite fork)Yes
RedisNo

Tabs

TabWhat it does
OverviewThe Actions card (deploy, reload, start, stop, terminal) and connection details.
BackupsScheduled backups to S3-compatible storage. See Backups. Redis has no Backups tab.
LogsContainer output.
MetricsCPU, memory, disk and network graphs. They update only while the page is open.
SettingsEnvironment variables and Resources and storage.

The Environment variables section edits the environment. Wrap a multiline value in double quotes, for example '"my_private_key"'.

Resources and storage

OptionWhat it does
Advanced settingsOverride the container command.
VolumesPersist data across deployments.
ResourcesSet CPU and memory limits.
Danger zoneRebuild the database and start over.

Enable Redis AOF persistence

Redis runs with default persistence (RDB snapshots, no append-only file). To enable the AOF, set the start command in Settings › Resources and storage, in the Advanced settings card:

  • Command: /bin/sh
  • Args, one entry each: -c, then redis-server --requirepass "$REDIS_PASSWORD" --appendonly yes --save 3600 1

wtree Cloud sets REDIS_PASSWORD, so the command doesn't contain the password. Save, click Deploy on Overview, then check:

redis-cli -a "$REDIS_PASSWORD" config get appendonly
# 1) "appendonly"
# 2) "yes"

Browse container files

Open Servers, choose the server and open Containers. Use the container's actions menu and pick Browse files. You can preview and edit text files, download or delete files, and use Upload file. Named volumes are browsable from Containers › Volumes. Files outside persistent volumes disappear on restart or redeploy. This needs access to the Docker section.

Keyboard shortcuts

Press g, then a key, to switch tab or Settings section.

KeyGoes to
gOverview
bBackups
lLogs
mMetrics
sSettings
eSettings › Environment variables
aSettings › Resources and storage

On this page