Share feedback, ideas and get community help

Z
Zul
Offline, last seen 3 months ago
Joined September 13, 2024
Hi, I just start to selfhost Typebot on my local server. Everything works perfect the only things not configure well is S3 bucket.

this is my docker-compose

Plain Text
version: "3.3"

volumes:
  db-data:
  s3-data:

services:
  typebot-db:
    image: postgres:14-alpine
    restart: always
    volumes:
      - db-data:/var/lib/postgresql/data
    environment:
      - POSTGRES_DB=typebot
      - POSTGRES_PASSWORD=typebot

  typebot-builder:
    image: baptistearno/typebot-builder:latest
    restart: always
    depends_on:
      - typebot-db
    ports:
      - "3002:3000"
    extra_hosts:
      - "host.docker.internal:host-gateway"

  typebot-viewer:
    image: baptistearno/typebot-viewer:latest
    restart: always
    ports:
      - "3001:3000"

  minio:
    image: minio/minio
    command: server /data
    ports:
      - '9001:9001'
    environment:
      MINIO_ROOT_USER: minio
      MINIO_ROOT_PASSWORD: minio123
    volumes:
      - s3-data:/data
  # This service just makes sure a bucket with the right policies is created
  createbuckets:
    image: minio/mc
    depends_on:
      - minio
    entrypoint: >
      /bin/sh -c "
      sleep 20;
      /usr/bin/mc config host add minio http://minio:9001 minio minio123;
      /usr/bin/mc mb minio/typebot;
      /usr/bin/mc anonymous set public minio/typebot/public;
      exit 0;
      "


All service is up and running well except createbuckets throw this error

Plain Text
mc: <ERROR> Unable to initialize new alias from the provided credentials. Get "http://minio:9001/probe-bsign-03kcy1pr3qlcmfmwtgznk5mbe9y2fw/?location=": dial tcp 172.28.0.3:9001: connect: connection refused.
Bucket created successfully `minio/typebot`.
mc: <ERROR> Unable to set anonymous `public` for `minio/typebot/public`. Requested path 


Anyone facing the same issue?
41 comments
A
Z
B
I used the popup method to display my site. After the user finishes, I want the pop-up to close itself. One thing I can think of is using the script. Is there any specific script that I can use to make it close the pop up?
3 comments
Z
B