Teable: AI No-Code Database
Teable is a no-code database platform for team collaboration.
Pigsty provides the app/teable template (conf/app/teable.yml) with PostgreSQL + Docker and a dedicated authenticated Redis cache service (teable-cache) in Compose.
Quick Start
Default endpoints:
http://<IP>:8890http://tea.pigsty
Key Settings
The template writes the following into /opt/teable/.env:
POSTGRES_HOST/POSTGRES_PORT/POSTGRES_DB/POSTGRES_USER/POSTGRES_PASSWORDPRISMA_DATABASE_URLPUBLIC_ORIGIN(public access URL)PUBLIC_DATABASE_PROXYTEABLE_PORT(default8890)TEABLE_DATA(default/data/teable, for persistent application assets)REDIS_VERSION(default7-alpine) andREDIS_PASSWORD(embedded Redis password; change before deployment)
Cache and Health Checks
Compose starts a dedicated teable-cache (redis:7-alpine), enables authentication with REDIS_PASSWORD, persists AOF in the named volume teable-cache, and does not publish Redis to the host. It derives BACKEND_CACHE_REDIS_URI from REDIS_PASSWORD and REDIS_PORT, waits for Redis to pass its health check before starting Teable, and probes the Teable backend /health endpoint for readiness.
To use external Redis, explicitly set the complete BACKEND_CACHE_REDIS_URI, with special characters in the password URI-encoded. When upgrading an old manually maintained .env, remove its hard-coded derived BACKEND_CACHE_REDIS_URI line so it does not override the new password or port settings. Back up both PostgreSQL and the TEABLE_DATA asset directory.
Operations
References
- Teable docs: https://help.teable.io/
- Pigsty template: https://github.com/pgsty/pigsty/blob/main/conf/app/teable.yml