Skip to content

How‐to: install SPRT 1.x using Docker

Vitaly Kumov edited this page Jan 24, 2025 · 3 revisions

Step 0. Ensure that you have Docker installed

docker version

Step 1. Download docker-compose.yml

Get docker-compose.yml and save it somewhere

Step 2. Change docker-compose.yml

Open docker-compose.yml in any text editor and update the following lines:

Line Meaning
SPRT_HOSTNAME=my.sprt Enter your hostname (display only purpose)
SPRT_USER_MODE=single single - for single user deployment. Currently only single user deployment is supported.
SPRT_USER_UID=user
SPRT_USER_GIVEN=User
UID and Display name of the user
SPRT_USER_SUPER_PASSWORD=<ADMIN_PASSWORD> Password for admin access
SPRT_REAL_IP=<REAL_IP_ADDRESS_OF_MACHINE> Real IP address of the machine where SPRT runs
device: <FOLDER_TO_CERTIFICATES> Local directory where Identity Certificates should be stored
device: <FOLDER_TO_LOGS> Local directory where logs should be stored

Or you can re-configure certificates and logs volumes as you wish.

Step 3. Start Docker

Note: docker images are built for the following platforms: linux/amd64 and linux/arm64

Execute the following command in the folder where docker-compose.yml file is:

$ docker-compose up -d

After some time you should see

Starting db.postgres.sprt       ... done
Starting scep.sprt              ... done
Starting redis.sprt             ... done
Starting pxgrider.postgres.sprt ... done
Starting pxgrider.sprt          ... done
Starting sprt                   ... done

Step 4. Access SPRT

Once it is up, you should be able to open http://localhost/ to access SPRT