···17171818If you deploy this to a valid TLD (`mydomain.com`) **you will need to provide a [license](https://tldraw.dev/community/license).** Hobby licenses, which are free, are available with application.
19192020-To include your license you will need to build the image yourself.
2121-2222-TODO: Add the build-arg `VITE_TLDRAW_LICENSE_KEY` or fill in using compose.yaml, then build.
2020+To include your license you will need to build the image yourself: Add the build-arg `VITE_TLDRAW_LICENSE_KEY` or fill in using compose.yaml, then build.
23212422## License
2523
+5-9
compose.yaml
···11services:
22 tldraw:
33 image: tldraw
44- build: .
44+ build:
55+ context: .
66+ args:
77+ VITE_TLDRAW_LICENSE_KEY:
58 ports:
69 - 5757:5757
77- - 5858:5858
88- ## behind a reverse proxy the backend URL needs to be set so the client code
99- ## knows where to communicate to
1010- ##
1111- ## URL should lead to port 5858 on this container
1212- ##
1313- # environment:
1414- # - VITE_WORKER_URL=mydomain-ws.com1010+ - 5858:5858