Share feedback, ideas and get community help

A
Alex
Offline, last seen 3 months ago
Joined September 13, 2024
Hello guys, I am trying to setup minio as the local s3 storage, when I try to upload a file using the file input block, I have this in my browser dev tools
POST http://minio:9005/typebot net::ERR_NAME_NOT_RESOLVED

my docker-compose file
Plain Text
 version: "3.3"

volumes:
  db-data:
  s3-data:

services:
  typebot-db:
    image: postgres:13.13-alpine3.19
    restart: always
    volumes:
      - db-data:/var/lib/postgresql/data
    environment:
      - POSTGRES_DB=typebot
      - POSTGRES_PASSWORD=typebot

  minio:
    image: minio/minio
    command: server --address ":9005" --console-address ":9001" /data
    ports:
      - "9005:9005"
      - "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 10;
      /usr/bin/mc config host add minio http://minio:9005 minio minio123;
      /usr/bin/mc mb minio/typebot;
      /usr/bin/mc anonymous set public minio/typebot;
      exit 0; "

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

  typebot-viewer:
    image: baptistearno/typebot-viewer:latest
    restart: always
    ports:
      - "8081:3000"
    env_file: .env


In my .env i set the s3 variable as:
Plain Text
S3_ACCESS_KEY=minio
S3_SECRET_KEY=minio123
S3_BUCKET=typebot
S3_ENDPOINT=minio
S3_PORT=9005
S3_SSL=false
6 comments
B
A
A
Alex
·

cors issue

Hello Guys my self hosted Typebot is having an issue after updating it to the latest version. This is the error at the developer tool.
10 comments
T
A
B