How can I create a basic not so basic workload that supports flosumhub/apex-pmd:2.6.0 docker image? This repository tries to answer that.
Inside './terraform' directory,
# install terraform and...
terraform init && terraform apply -auto-approve
Inside './terraform' directory,
# install terraform and...
terraform destroy -auto-approve
If you trust me, inside './terraform' directory, just execute the following commands.
# GET /
eval $(terraform output --raw get_root_curl_command)
# GET /server/log
eval $(terraform output --raw get_server_log_curl_command)
# POST /apexPMD (this one is a bit broken... try to figure it out!)
eval $(terraform output --raw post_run_curl_command)
# POST /oauth/token
eval $(terraform output --raw post_token_curl_command)
Try to read the source code.
# index.js (main file)
docker run -ti --rm flosumhub/apex-pmd:2.6.0 cat index.js
# ApexMD.js
docker run -ti --rm flosumhub/apex-pmd:2.6.0 cat ApexPMD.js
I need to log every request, including the entire body. Inside ./nginx-pmd-proxy-container
, there is the Dockerfile with a custom configuration.
Yes, a bit... so please: DON'T FORGET TO DESTROY EVERYTHING!