Running directly:
- java 11
- maven
Running in a container:
- Docker
Running directly:
mvn package -DskipTests
ormvn package
java -jar /opt/app.jar --spring.profiles.active=prod
Config parameters:
accesstoken
- your access token to DigitalOcean APIclusterid
- your Kubernetes cluster_id on DigitalOcean
Running in a container:
docker build -t command-executor:v1 .
docker run --env accesstoken=<your_digitalocean_access_token> --env clusterid=<your_kubernetes_cluster_id_on_digitalocean> -it --network="host" command-executor:v1