SumiForum
    • Categories
    • Recent
    • Tags
    • Popular
    • Games
      • MFME
      • Virtual Pinball
    • Register
    • Login

    Teable

    Scheduled Pinned Locked Moved Docker Compose
    1 Posts 1 Posters 31 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SumisuS Offline
      Sumisu Administrator
      last edited by

      Teable


      What is Teable?

      Teable uses a simple, spreadsheet-like interface to create powerful database applications. Collaborate with your team in real-time, and scale to millions of rows

      LISCENSE

      https://github.com/teableio/teable/blob/develop/LICENSE


      📦 Docker Compose

      services:
        teable:
          image: ghcr.io/teableio/teable:latest
          restart: always
          ports:
            - '4095:3000'
          volumes:
            - teable-data:/app/.assets: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/teable/data:/app/.assets:rw
          environment:
            - TZ=${TIMEZONE}
            - NEXT_ENV_IMAGES_ALL_REMOTE=true
            - PUBLIC_ORIGIN=${PUBLIC_ORIGIN}
            - PRISMA_DATABASE_URL=${PRISMA_DATABASE_URL}
            - PUBLIC_DATABASE_PROXY=${PUBLIC_DATABASE_PROXY}
            - TEMPLATE_SITE_LINK=${TEMPLATE_SITE_LINK}
          networks:
            - teable-standalone
          depends_on:
            teable-db-migrate:
              condition: service_completed_successfully
      
        teable-db:
          image: postgres:15.4
          restart: always
          ports:
            - '42345:5432'
          volumes:
            - teable-db:/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
          environment:
            - TZ=${TIMEZONE}
            - POSTGRES_DB=${POSTGRES_DB}
            - POSTGRES_USER=${POSTGRES_USER}
            - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
          networks:
            - teable-standalone
          healthcheck:
            test: ['CMD-SHELL', "sh -c 'pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}'"]
            interval: 10s
            timeout: 3s
            retries: 3
      
        teable-db-migrate:
          image: ghcr.io/teableio/teable-db-migrate:latest
          environment:
            - TZ=${TIMEZONE}
            - PRISMA_DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
          networks:
            - teable-standalone
          depends_on:
            teable-db:
              condition: service_healthy
      
      networks:
        teable-standalone:
          name: teable-standalone-network
          driver: bridge
      
      volumes:
        teable-data: {}
        teable-db: {}
      

      .env

      TIMEZONE=UTC
      POSTGRES_HOST=teable-db
      POSTGRES_PORT=5432
      POSTGRES_DB=teable #Database Name
      POSTGRES_USER=teable_username #Database Username
      POSTGRES_PASSWORD=teable_password #Database Password
      PUBLIC_ORIGIN=https://teable.example.com #Public Url
      PRISMA_DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
      PUBLIC_DATABASE_PROXY=1.2.3.4:42345 #Database Public IP
      TEMPLATE_SITE_LINK=https://template.teable.io #Optional Template URL
      
      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Forum Stats

      0

      Online

      3

      Users

      30

      Topics

      30

      Posts

      Ad

      © 2024 Sumisu

      • Home
      • Categories
      • Popular