Let’s create a installation directory in our servers home folder
Bash
mkdir ~/sys-api && cd ~/sys-api
Then let’s create the config/ and data/ directories
Bash
mkdir config && mkdir data
The server expects a configuration.yml in the configuration directory. Let’s download the latest one using wget
Bash
cd config
Bash
wget https://raw.githubusercontent.com/Krillsson/sys-API/refs/heads/master/config/configuration.yml
Use your favorite text editor to edit the user & password of the config
Bash
nano configuration.yml
Then press CTRL+X to exit nano (and press Y to save)
Now we can download the latest docker-compose.yml and make our edits to it using nano
Bash
wget https://raw.githubusercontent.com/Krillsson/sys-API/master/docker-compose.yml
Remember to swap out the volume mounts for the config/ and data/ directories
Then we can start the container
Bash
docker compose -f docker-compose.yml up
Let’s verify the server started correctly
Bash
docker logs --follow --tail 200 sys-api
If you see this message without any error after it. That means the server is up and running
Bash
[...]: Tomcat started on ports 8443 (https), 8080 (http) with context path '/'
[...]: Started SysAPIApplicationKt in 6.352 seconds (process running for 7.234)
Now you are ready to proceed to next step