-
Notifications
You must be signed in to change notification settings - Fork 4
How‐to: install SPRT 1.x using Docker
Vitaly Kumov edited this page Jan 24, 2025
·
3 revisions
docker version
Get docker-compose.yml and save it somewhere
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.
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
Once it is up, you should be able to open http://localhost/ to access SPRT