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
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
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?