Amaury
Amaury
TTypebot
Created by Amaury on 4/5/2025 in #help-and-questions
Self Hosting Minio error
I solved it with extraction of minio docker and setup a dns local because I have a problem with hairpinning
10 replies
TTypebot
Created by Amaury on 4/5/2025 in #help-and-questions
Self Hosting Minio error
I will be try with a dedicated minio service ASAP thanks
10 replies
TTypebot
Created by Amaury on 4/5/2025 in #help-and-questions
Self Hosting Minio error
Yes I know that but I hope typebot do the translation with information to unlick typebot upload message
10 replies
TTypebot
Created by Amaury on 4/5/2025 in #help-and-questions
Self Hosting Minio error
Configuration Self hosted with portainer and swarm and traefik for reverse proxy docker compose
services:
typebot-db:
...
typebot-builder:
...
typebot-viewer:
image: baptistearno/typebot-viewer:latest
labels:
- "traefik.enable=true"
...
restart: always
depends_on:
- typebot-db
networks:
...
environment:
...
- "S3_ACCESS_KEY=minio"
- "S3_SECRET_KEY=**************************"
- "S3_BUCKET=typebot"
- "S3_ENDPOINT=minio"
- "S3_PORT=9000"
- "S3_SSL=false"
- "S3_PUBLIC_CUSTOM_DOMAIN=https://storage.********************"
- "DEBUG=true"
minio:
hostname: minio
image: minio/minio
command: server /data
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: *********************
volumes:
- s3-data:/data
networks:
- typebot-network
- traefik_traefik-network
labels:
- "traefik.enable=true"
- "traefik.http.routers.typebotstorage.entrypoints=web,websecure"
- "traefik.http.routers.typebotstorage.rule=Host(`storagebot.*****************`)"
- "traefik.http.routers.typebotstorage.tls=true"
- "traefik.http.routers.typebotstorage.tls.certresolver=production"
- "traefik.http.routers.typebotstorage.service=typebotstorage-service"
- "traefik.http.services.typebotstorage-service.loadbalancer.server.port=9000"
# This service just make 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:9000 minio minio123;
/usr/bin/mc mb minio/typebot;
/usr/bin/mc anonymous set public minio/typebot/public;
exit 0;
"
networks:
- typebot-network
services:
typebot-db:
...
typebot-builder:
...
typebot-viewer:
image: baptistearno/typebot-viewer:latest
labels:
- "traefik.enable=true"
...
restart: always
depends_on:
- typebot-db
networks:
...
environment:
...
- "S3_ACCESS_KEY=minio"
- "S3_SECRET_KEY=**************************"
- "S3_BUCKET=typebot"
- "S3_ENDPOINT=minio"
- "S3_PORT=9000"
- "S3_SSL=false"
- "S3_PUBLIC_CUSTOM_DOMAIN=https://storage.********************"
- "DEBUG=true"
minio:
hostname: minio
image: minio/minio
command: server /data
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: *********************
volumes:
- s3-data:/data
networks:
- typebot-network
- traefik_traefik-network
labels:
- "traefik.enable=true"
- "traefik.http.routers.typebotstorage.entrypoints=web,websecure"
- "traefik.http.routers.typebotstorage.rule=Host(`storagebot.*****************`)"
- "traefik.http.routers.typebotstorage.tls=true"
- "traefik.http.routers.typebotstorage.tls.certresolver=production"
- "traefik.http.routers.typebotstorage.service=typebotstorage-service"
- "traefik.http.services.typebotstorage-service.loadbalancer.server.port=9000"
# This service just make 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:9000 minio minio123;
/usr/bin/mc mb minio/typebot;
/usr/bin/mc anonymous set public minio/typebot/public;
exit 0;
"
networks:
- typebot-network
10 replies