Self-host Teable with Levelrail

A spreadsheet-style visual database backed by real PostgreSQL, an Airtable alternative.

  • Authorteableio
  • LicenceAGPL-3.0
  • Memory1 GiB
  • Archarm64
  • Services4

How to self-host Teable

  1. Pull the images

    4 images are pulled on your server.

    Show images
    • ghcr.io/teableio/teable:latest
    • redis:7.2.4
    • postgres:15.4
    • ghcr.io/teableio/teable-db-migrate:latest
  2. Create the app

    4 services start in a single Compose app, with 3 named volume mounts for your data, on port 3000.

  3. Fill in the secrets

    4 secrets are generated and stored encrypted, 6 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.

Teable requirements

Memory
About 1 GiB
Architectures
amd64 image published, arm64 image published
Ports
3000
Domain
Optional, an sslip.io address is used without one
Settings
none to fill in
License
AGPL-3.0, network copyleft (agpl) license
  • Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.
  • Host ports. It publishes port 3000 on the host, so open them in the VPS firewall only if you want that.
  • Review. Image is not pinned to a version tag, so a redeploy can pull different code (ghcr.io/teableio/teable-db-migrate:latest, ghcr.io/teableio/teable:latest).

Install Levelrail first

On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Teable. 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 Teable docs page.

Deploy Teable your way

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

Deploy Teable from the CLI

levelrail-cli templates deploy teable --name my-teable

Deploy Teable 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/teable/deploy

Teable configuration

Teable services

ServiceImagePortsVolumes
teable ghcr.io/teableio/teable:latest 3000 teable_data -> /app/.assets
teable-cache redis:7.2.4 none teable_cache_data -> /data
teable-db postgres:15.4 none teable_db_data -> /var/lib/postgresql/data
teable-db-migrate ghcr.io/teableio/teable-db-migrate:latest none none

Teable environment variables

VariableServiceValue
BACKEND_CACHE_PROVIDER teable Preset by the template
BACKEND_CACHE_REDIS_URI teable Preset by the template
PORT teable Preset by the template
PRISMA_DATABASE_URL teable Generated at deploy
PUBLIC_ORIGIN teable Preset by the template
SECRET_KEY teable Generated at deploy
POSTGRES_DB teable-db Preset by the template
POSTGRES_PASSWORD teable-db Generated at deploy
Show all 10 variables
  • POSTGRES_USERteable-dbPreset by the template
  • PRISMA_DATABASE_URLteable-db-migrateGenerated at deploy

Ports and volumes

Ports
3000
Volumes
3 named mounts: teable_data -> /app/.assets, teable_cache_data -> /data, teable_db_data -> /var/lib/postgresql/data

Teable FAQ

How much memory does Teable need?

The catalog lists about 1 GiB of memory for Teable across its 4 services.

Does Teable run on arm64?

For Teable, an arm64 image is published; amd64 is image published.

What licence is Teable under?

Teable is licensed under AGPL-3.0, which is network copyleft, so source sharing also applies when it is offered as a hosted service.

Does Teable need configuration before it starts?

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

Which database does Teable bundle?

The template includes Postgres and Redis, running as its own service.

Which ports does Teable use?

Teable listens on port 3000 inside the stack.

Where does Teable keep its data?

In named volumes: teable_data mounted at /app/.assets, teable_cache_data mounted at /data and teable_db_data mounted at /var/lib/postgresql/data.

Can I deploy Teable 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 teable for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image ghcr.io/teableio/teable:latest, redis:7.2.4, postgres:15.4, ghcr.io/teableio/teable-db-migrate:latest is what you deploy there.

levelrail-cli templates deploy teable --name my-teable