Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Image baptistearno/typebot-builder and baptistearno/typebot-viewer ARM64 #716

Closed
willph opened this issue Aug 25, 2023 · 15 comments · Fixed by #760
Closed

Docker Image baptistearno/typebot-builder and baptistearno/typebot-viewer ARM64 #716

willph opened this issue Aug 25, 2023 · 15 comments · Fixed by #760
Labels
Dev feature ✨ New developer feature or improvement

Comments

@willph
Copy link

willph commented Aug 25, 2023

Hi, how are you?

Is there image in docker hub for ARM64 architecture?

presented this error

Using Docker version 20.10.25, build 20.10.25-0ubuntu1~20.04.1

Architecture: VPS Ubuntu 20.04 ARM64

image

@baptisteArno
Copy link
Owner

Indeed, ARM is not supported for now!

@willph
Copy link
Author

willph commented Aug 28, 2023 via email

@baptisteArno
Copy link
Owner

That is strange though. I can build and run the images on my Mac M1. (ARM64 arch)

Any idea what is different with yours?

@willph
Copy link
Author

willph commented Aug 29, 2023

hat is strange though. I can build and run the images on my Mac M1. (ARM64 arch)

Any idea what is different with yours?

I used the docker-compose that I had on this page https://docs.typebot.io/self-hosting/docker

Then I saw that he used these images of docker hub https://hub.docker.com/r/baptistearno/typebot-viewer and https://hub.docker.com/r/baptistearno/typebot-builder/ and all two are for ARCH amd64.

image

@willph
Copy link
Author

willph commented Aug 29, 2023

Did have any changes in the docs regarding installation via docker?

It's different from when I accessed

and the link https://github.com/raw/baptisteArno/typebot.io/latest/.env.example error 404: Not Found

@willph
Copy link
Author

willph commented Aug 29, 2023 via email

@baptisteArno
Copy link
Owner

So in theory that should work?

@willph
Copy link
Author

willph commented Aug 29, 2023

So in theory that should work?

I managed to install using of Elestio image. As you can see in the image that appears for both AMD and ARM as well.

image

Unfortunately with the official image you can't, there was that error in the photo that I posted here at the beginning

@baptisteArno
Copy link
Owner

Ok I see, I can enable the build for that arch 👍

@baptisteArno baptisteArno added the Dev feature ✨ New developer feature or improvement label Aug 30, 2023
@baptisteArno
Copy link
Owner

@roccianetto
Copy link

Então, em teoria, isso deveria funcionar?

Consegui instalar usando a imagem do Elestio. Como você pode ver na imagem que aparece tanto para AMD quanto para ARM.

imagem

Infelizmente com a imagem oficial não dá, deu aquele erro na foto que postei aqui no começo

Hello @willph, could you please explain to me how to install with the Elest.io image?

@willph
Copy link
Author

willph commented Aug 30, 2023

Então, em teoria, isso deveria funcionar?

Consegui instalar usando a imagem do Elestio. Como você pode ver na imagem que aparece tanto para AMD quanto para ARM.
imagem
Infelizmente com a imagem oficial não dá, deu aquele erro na foto que postei aqui no começo

Hello @willph, could you please explain to me how to install with the Elest.io image?

I used docker-compose.yml from here https://docs.typebot.io/self-hosting/guides/docker

I changed the images, I used by Elestio

baptistearno/typebot-builder:latest -> elestio/typebot-builder:latest

baptistearno/typebot-viewer:latest -> elestio/typebot-viewer:latest

@willph
Copy link
Author

willph commented Sep 1, 2023

For reference, I can get inspiration from: https://github.com/plausible/analytics/blob/master/.github/workflows/build-public-images.yml

Thanks a lot for the help.
I will be waiting anxiously

@willph
Copy link
Author

willph commented Sep 3, 2023

roccianetto

You don't even need to use the image of Elestio, just use git to clone the repository and use the docker-compose.build.yml file and to configure it correctly according to the documentation itself and at the end run the command docker-compose up - d

Basically I did it like this

ARM64 Install Typebot

git clone https://github.com/baptisteArno/typebot.io

cd typebot.io

git checkout latest

cp docker-compose.yml docker-compose.yml.backup

cp docker-compose.build.yml docker-compose.yml

nano docker-compose.yml

add S3 Storage doc https://docs.typebot.io/self-hosting/guides/docker#s3-storage

cp .env.example .env

nano .env

docker-compose up -d

NOTE:

Remembering that you need to configure the details of the .env file and docker-compose.yml.

baptisteArno added a commit that referenced this issue Sep 4, 2023
baptisteArno added a commit that referenced this issue Sep 4, 2023
@baptisteArno baptisteArno linked a pull request Sep 4, 2023 that will close this issue
@willph
Copy link
Author

willph commented Sep 4, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dev feature ✨ New developer feature or improvement
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants