Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 9 Current »

ARES Kudo can be run inside docker containers. Dedicated Dockerfile for Ubuntu 18.04 is available.

Instructions:

Extract

  1. Edit Dockerfile and set your Graebert customer account username (LICENSING_ACCOUNT) and password (LICENSING_PASSWORD)
    here:

    ENV LICENSING_ACCOUNT REPLACEME
    ENV LICENSING_PASSWORD REPLACEME
  2. Run "docker build -t kudo:latest ."

  3. Run "docker run -p 8082:80 -e "NGINX_X_FORWARDED_HOST=localhost:8082" kudo:latest"
    NGINX_X_FORWARDED_HOST specifies the “X-Forwarded-Host” header set in nginx config. It is required to have editor’s websocket working that follows the same-origin policy. “X-Forwarded-Host” needs to be passed to identify the original host requested by the client. The default of NGINX_X_FORWARDED_HOST is localhost.

  4. Test the application with a publicly accessible URL:  http://localhost:8082/editor?fileUrl=https://xenon-instance-setup.s3.amazonaws.com/001General.dwg

System requirements

Your docker container needs at least 3GB memory to be able to open a drawing.

For Docker Desktop, it can be set under Setting → Resources → Advanced → memory

Checking server logs

Connect to running container e.g. "docker exec -it \*cointainer\* /bin/bash"

You can find logs at
/var/log/wt

access.log - API access logs
editor.log - Kudo server logs

  • No labels