Files
umbrel-apps/tela/docker-compose.yml
T
2026-12-02 11:14:01 +10:00

85 lines
3.0 KiB
YAML

services:
app_proxy:
environment:
APP_HOST: tela_proxy_1
APP_PORT: 80
# tela has its own accounts, and teammates, share links, public spaces,
# AI agents and WebDAV clients can't pass the Umbrel login.
PROXY_AUTH_ADD: "false"
proxy:
image: ghcr.io/zcag/tela-proxy:0.12.2@sha256:0e97863e993d06e4cabc0e8fb3a1945da429bc53894d433516e3c34c74ff1d69
restart: on-failure
environment:
TELA_SITE_ADDRESS: ":80"
TELA_UPSTREAM_BACKEND: backend:8080
TELA_UPSTREAM_FRONTEND: frontend:80
depends_on:
- backend
- frontend
backend:
image: ghcr.io/zcag/tela-backend:0.12.2@sha256:108a9f6f4fd52dbec3b35e75d6702d56237ce3e69b138b36fa5ff7c935ab3c09
init: true
restart: on-failure
environment:
TELA_PUBLIC_BASE_URL: "http://${DEVICE_DOMAIN_NAME}:${APP_TELA_PORT}"
TELA_DATABASE_URL: "postgres://tela:${APP_TELA_POSTGRES_PASSWORD}@postgres:5432/tela?sslmode=disable"
TELA_SHARE_SECRET: ${APP_TELA_SHARE_SECRET}
TELA_API_KEY_SECRET: ${APP_TELA_API_KEY_SECRET}
# Creates the admin on first boot so nobody else can claim it through the
# setup page. Ignored once any user exists.
TELA_ADMIN_USERNAME: umbrel
TELA_ADMIN_PASSWORD: ${APP_PASSWORD}
# No SMTP is set up, so start with self-registration closed. Only applies
# on first boot; the admin can change it later in Settings.
TELA_REGISTRATION_OPEN: "false"
# Umbrel handles app updates, so skip tela's daily update check.
TELA_UPDATE_CHECK: "0"
TELA_GOTENBERG_URL: http://gotenberg:3000
TELA_PDF_RENDER_BASE_URL: http://proxy
TELA_DECK_URL: http://deck:3344
depends_on:
postgres:
condition: service_healthy
gotenberg:
condition: service_started
deck:
condition: service_started
frontend:
image: ghcr.io/zcag/tela-frontend:0.12.2@sha256:d6fd3fa3b819c24e4a01f6dd616cd53ee39a10350a70ba83ab2d435a33adaf23
restart: on-failure
postgres:
image: pgvector/pgvector:0.8.3-pg17@sha256:be400b50812ab2cc908ed78593fda2e51e3b45fe774fa637f1c7b16e68531d95
restart: on-failure
environment:
POSTGRES_USER: tela
POSTGRES_PASSWORD: ${APP_TELA_POSTGRES_PASSWORD}
POSTGRES_DB: tela
volumes:
- ${APP_DATA_DIR}/data/db:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U tela -d tela"]
interval: 5s
timeout: 3s
retries: 20
start_period: 10s
gotenberg:
image: gotenberg/gotenberg:8.34.0@sha256:67097317623a503ba2a6a7e9ae8db6929a1f7e1bbd88077bacf2d325fbdab923
restart: on-failure
deck:
image: ghcr.io/zcag/tela-deck:0.12.2@sha256:7b536df61c2f3549e8df8d1414343b2bf1209b645c2b7a5f766ba5e9e843aada
restart: on-failure
volumes:
- ${APP_DATA_DIR}/data/deck:/data
healthcheck:
test: ["CMD", "node", "-e", "require('http').get('http://localhost:3344/health',r=>process.exit(r.statusCode===200?0:1)).on('error',()=>process.exit(1))"]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s