Installation Guide


To run TRASA with a bare minimal setup, you will need :

  1. Database (PostgreSQL),
  2. Redis,
  3. Guacamole Guacd server (Only required If you need to protect Remote Desktop Access),
  4. TRASA server itself.

The minimum server requirement to run TRASA is:

  • 1 core CPU,
  • 1 GB ram,
  • 20 GB storage.

Planning for extra storage space is critical since session recording of remote access can quickly cover up available spaces. It depends on frequency of access, policy that enables session recording.

sudo docker run -d -p 5432:5432 --name db \
-e POSTGRES_PASSWORD=trasauser \
-e POSTGRES_USER=trasauser \
-e POSTGRES_DB=trasadb postgres:13.0
sudo docker run -d -p 6379:6379 --name redis redis:6.0.8
  • Run guacd (Apache Guacamole RDP proxy server). This is only required if you need to protect RDP service
sudo docker run -d --rm --name guacd \
-p \
-v /tmp/trasa/accessproxy/guac:/tmp/trasa/accessproxy/guac \
--user root seknox/guacd:v0.0.1
  • Run trasa-server
  • Replace app.trasa in TRASA.LISTENADDR with hostname/IP you want TRASA server to listen on.
  • If TRASA.LISTENADDR is not a public domain, turn off the autocert by passing -e TRASA.AUTOCERT="false"
sudo docker run -d --link db:db \
--link guacd:guacd \
--link redis:redis \
-p 443:443 \
-p 80:80 \
-p 8022:8022 \
-e TRASA.LISTENADDR=app.trasa \
-v /tmp/trasa/accessproxy/guac:/tmp/trasa/accessproxy/guac \

Go through config reference to run TRASA in environment according to your need