hpi-schul-cloud / tldraw-client

GNU Affero General Public License v3.0
4 stars 0 forks source link

Docker run fails #73

Open bobhenkel opened 1 month ago

bobhenkel commented 1 month ago

When I follow the readme to build and run the container I get the below error when execute the docker run command:

docker run -p 83:83 tldraw-client
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
/docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
20-envsubst-on-templates.sh: Running envsubst on /etc/nginx/templates/default.conf.template to /etc/nginx/conf.d/default.conf
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2024/07/24 19:46:04 [emerg] 1#1: unknown "tldraw_server_url" variable
nginx: [emerg] unknown "tldraw_server_url" variable
Loki-Afro commented 2 weeks ago

@bobhenkel you have to supply an additional env var for the server TLDRAW_SERVER_URL which could bewss://<yourdomain>/tldraw-server