is there anyone who can help me get rid of this

When I tab into the template section, it says invalid endpoint URL I tried all things..
No description
1 Reply
Mathieu
Mathieu3w ago
I assume you are self-hosting your Tyepbot ? Your docker-compose.yml is not well configured. In the minio section you have to provide a valid domain, thaht you have previously created and configured to point onto your server. Currently you had set the domain minio on port 9000, which of course is not a valid domain. If your Typebot instance domain (or sub-domain) is typebot.my-domain.com, I suggest that you create the sub-domain typebot.storage.my-domain.com(or something similar) and properly configured it to point on your server, then use this sub-domain in your docker-compose.yml file. Here a sample, using caddy as reverse-proxy, handling SSL certificate creation and renew automatically :
caddy-gen:
container_name: caddy-gen
image: 'wemakeservices/caddy-gen:latest'
restart: always
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ${PWD}/.typebot/caddy-certificates:/data/caddy
ports:
- '80:80'
- '443:443'
depends_on:
- typebot-builder
- typebot-viewer
- minio

minio:
labels:
virtual.host: 'typebot.storage.my-domain.com' # change to your domain
virtual.port: '9000'
virtual.tls-email: 'me@my-domain.com' # change to your email
image: minio/minio
restart: always
command: server /data
ports:
- '9000:9000'
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: xxxxxx # Define your own password
volumes:
- s3-data:/data
# 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 YOUR_PASSWORD;
/usr/bin/mc mb minio/typebot;
/usr/bin/mc anonymous set public minio/typebot/public;
exit 0;
"
caddy-gen:
container_name: caddy-gen
image: 'wemakeservices/caddy-gen:latest'
restart: always
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ${PWD}/.typebot/caddy-certificates:/data/caddy
ports:
- '80:80'
- '443:443'
depends_on:
- typebot-builder
- typebot-viewer
- minio

minio:
labels:
virtual.host: 'typebot.storage.my-domain.com' # change to your domain
virtual.port: '9000'
virtual.tls-email: 'me@my-domain.com' # change to your email
image: minio/minio
restart: always
command: server /data
ports:
- '9000:9000'
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: xxxxxx # Define your own password
volumes:
- s3-data:/data
# 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 YOUR_PASSWORD;
/usr/bin/mc mb minio/typebot;
/usr/bin/mc anonymous set public minio/typebot/public;
exit 0;
"

Did you find this page helpful?