For production deployments, deploy using docker-compose via the LSSS App Repo.
This is the recommended method of deployment for production systems.
Go to the LSSS App Repo and following the deployment instructions there.
Performing the deployment using the LSSS App Repo should be something similar to the following:
docker-compose upThe development deployment can also use docker-compose in the same way.
To manually use docker rather than docker-compose, run the following:
docker image build -t lsssservice .
docker run -it lsssservice* Note: -t lsssservice and -it lsssservice may be changed to another tag name as desired, such as -t developing_on_this and -it developing_on_this.
Manual deployment can be summed up by running:
mvn spring-boot:runThose steps are a great way to start but they also fail to explain the customization that is often needed. There are multiple ways to further configure this for deployment to better meet the desired requirements.
It is highly recommended only to perform manual installation when developing.
For production deployment, please use docker-compose via the LSSS App Repo or use the Docker method above.
This method of configuration works by altering the configuration file.
With this in mind, the deployment steps now look like:
# Edit 'src/main/resources/application.yml' here.
mvn spring-boot:run