teableio_teable/dockers/database-postgres.yml
Bieber b4cb680f53
refactor: ai sdk 6 (#2118)
* chore: update tracing details

* feat: add attachemnt ro

* feat: upgrade to zod 4 and ai-sdk 5

* chore: openapi -> meta

* feat: ai-sdk 6

* chore: standard resource type

* feat: grid view state subscriber

* feat: pick upgrade node to 22

* fix: remove swagger to makesure backend start

* fix: remove swagger to makesure backend start

* chore: fix typecheck

* chore: clean ui effect

* chore: i18n for tools

* fix: card ui

* chore: update ai sdk provider

* fix: should not delete the last view in table

* feat: better zod error

* chore: clean base card

* fix: restore into base logic

* chore: i18n for tools

* chore: i18n for tools

* fix: swagger is back

* fix: pnpm lock

* fix: unit test

* fix: remove token

* fix: typecheck

* feat: proxy setting

* chore: update i18n for chat

* chore: tools i18n

* chore: upgrade ai sdk

* chore: i18n for ai gateway

* chore: rename app generation to app builder

* chore: remove deprecated version

* feat: adjust feature limitations

* chore: tools i18n

* fix: lint issue

* fix: api tag

* chore: zod i18n

* chore: add credit limit exceeded error handling

---------

Co-authored-by: SkyHuang <sky.huang.fe@gmail.com>
2025-12-09 14:43:29 +08:00

29 lines
780 B
YAML

services:
teable-postgres:
image: postgres:15.4
container_name: teable-postgres
hostname: teable-postgres
ports:
- '5432:5432'
networks:
- teable-net
environment:
- POSTGRES_DB=${POSTGRES_DB}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
volumes:
- db_data:/var/lib/postgresql/data:rw
# you may use a bind-mounted host directory instead,
# so that it is harder to accidentally remove the volume and lose all your data!
# - ./docker/db/data:/var/lib/postgresql/data:rw
healthcheck:
test: ['CMD-SHELL', "sh -c 'pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}'"]
interval: 10s
timeout: 3s
retries: 3
restart: always
volumes:
db_data: