Replies: 10 comments 16 replies
-
You can embed the component in any React app. You could self-host the webapp (in the |
Beta Was this translation helpful? Give feedback.
-
It would be great to have a Dockerfile in the repo that builds the app and exposes an HTTP port, making it super-easy to deploy either locally or in containerized environments (ECS/Heroku/CapRover etc) |
Beta Was this translation helpful? Give feedback.
-
+1
…On Sun, Nov 28, 2021 at 6:55 PM Nilesh ***@***.***> wrote:
It would be great to have a Dockerfile in the repo that builds the app and
exposes an HTTP port, making it super-easy to deploy either locally or in
containerized environments (ECS/Heroku/CapRover etc)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/tldraw/tldraw/discussions/347#discussioncomment-1711577>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AP7TNJ4HD4KZ4L33ZRWA6FLUOIUWHANCNFSM5IQA7U5Q>
.
|
Beta Was this translation helpful? Give feedback.
-
I just managed to self-hosted this on Vercel with the following outline: Create a new project in vercel and change the settings to:
Then run |
Beta Was this translation helpful? Give feedback.
-
Do you have any Docker images of tldraw I can spin up in my own infra? |
Beta Was this translation helpful? Give feedback.
-
I tried to quickly put together a
But I've run into some build issues I don't understand. This has less to do with Docker and more to do with how you even build a production version of this app in the first place -- Which there seems to be no documentation for :/ Help 🤗 |
Beta Was this translation helpful? Give feedback.
-
this Dockerfile worked for me, i started from ubuntu:focal and installed nvm and yarn:
yarn_starth.sh is just:
|
Beta Was this translation helpful? Give feedback.
-
So do I understand correctly, if I self-host tldraw I want be able to achieve collaborative editing? |
Beta Was this translation helpful? Give feedback.
-
To answer some recent questions from @so2liu @matbgn and @dillfrescott the real-time collaboration features of tldraw seem to rely on Liveblocks: This in my books makes tldraw unsuitable for self-hosting as one of its more useful features relies on yet another Cloud / SaaS run by yet another company that probably won't respect your data privacy or security. Someone will have to fork tldraw figure out how to replace the use of LiveBlocks with something else. HedgeDoc have a similar set of features and don't need to rely on an external (random) Cloud/SaaS service. |
Beta Was this translation helpful? Give feedback.
-
I see a lot of interesting conversations here. Do we have any update on a working Docker file for self-hosting with working collaboration and storage? |
Beta Was this translation helpful? Give feedback.
-
How to selfhost the webapp?
Beta Was this translation helpful? Give feedback.
All reactions