When opening meet.company.com - I get a blank gray screen and many errors in the console. The excalidraw backend is up and running correctly (single docker compose file on jitsi network).
@AndyS I installed excalidraw backend (at path opt/excalidraw-backend) and it is running fine at port :3002.
after that I added these lines in .env file of docker-jitsi-meet
WHITEBOARD_ENABLED=1
WHITEBOARD_COLLAB_SERVER_PUBLIC_URL=http://my-website-name.com:port
now I have doubt in this following part.
can you please explain this have you implemented it in docker-compose.yml file or somewhere else. and how can I know that excalidraw-backend is connected with my docker-jitsi-meet.
@AndyS , I have one doubt we have two things here:
a. excalidraw backend.
b. excalidraw-frontend (where we can draw anything.)
opt/excalidraw-backend - which is running on port:3002 (http://my-wesite-name:3002). if we hit in the browser it says “Excalidraw backend is up :)” ( which means Excalidraw backend is running on 3002.)
home/anyfolder/excalidraw - this is running on port: 3000.(http://my-website-name:3000).If I hit this the browser it displays whiteboard on browser.
so what url should I mention at “WHITEBOARD_COLLAB_SERVER_PUBLIC_URL=http://whiteboard.”
front -end one or backend one
I think that you do not need to configure and specify the port, the whiteboard when building the backend uses port 80 by default and it is not required to specify it in the variable and add this rows to docker-compose.yml (jitsi docker-compose)
If you are using Jitsi in a container, then it is better to build a whiteboard container and connect to the meet.jitsi network as I wrote earlier, in this case you do not need to open port 80 to the outside, because it is only required for the container
According to my server setup I am using jitsi-meet from path (srv/meet/jitsi-meet) and other components of jitsi ( prosody, jicofo and jvb1 and jvb2 ) using docker container as mentioned in docker-compose.yml file. And I commented jitsi-meet code in docker-compose.yml file.
so can you please tell me the steps I should follow to integrate whiteboard.Do I require to run excalidraw front-end separately or not. whiteboard option is not show in more option menu even I enabled the whiteboard in .env file as well as in config.js file.
can you elaborate values of these variables with an example :
- WHITEBOARD_COLLAB_SERVER_BASE_URL
- WHITEBOARD_DOMAIN
- WHITEBOARD_COLLAB_SERVER_PUBLIC_URL
like if my website name is “dev.surajTest.com:8090”. so what values should I put for these variables, can you please explain?
and my excalidarw-backend is running on 127.0.0.1:3002. on server at location opt/excalidraw-backend
You must run excalidraw-backend as a docker container.
For this you need excalidraw-backend docker image.
Use my image (tgrl/excalidraw-backend) or build your own image.
If you create your own image, don’t forget to write it in the whiteboard.yml file.
It doesn’t matter what you type in the WHITEBOARD_DOMAIN field.
I think you are using http. WHITEBOARD_COLLAB_SERVER_PUBLIC_URL=http://dev.surajTest.com:8090
Thanks, @tugrul for the beautiful explanation. I understand what you said but I have one issue I am using jitsi-meet from nginx, not its docker image (which means the web part of docker-jitsi-meet is commented in docker-compse.yml file), and other components like prosody,jicofo,jvb1and jvb2 I am using from docker jitsi meet.
should I replace these lines in nginx/sites-enabled/dev.surajTest.com.
and for below lines I have no idea how to implement it as I commented web part so it will not pick from docker files for web part is there any file where I replace this.
I built my own jitsi/web docker image.
cd ~/docker-jitsi-meet/web
nano Dockerfile
ARG BASE_TAG=stable-8218
so can you guide me on where I made changes as I am using Jitsi-meet. not the docker only for the web part.
But please can you do a video of the Whiteboard full setup and send link here. That will be much appreciated and easy to follow than a long note. This is to avoid lots of questions.