splunk / splunk-tableau-wdc

Splunk Tableau Web Data Connector (WDC) Example
Apache License 2.0
20 stars 13 forks source link

Docker Container in Openshift #5

Open Sp1ritfire opened 5 years ago

Sp1ritfire commented 5 years ago

When running the Applikation as a Docker in Redhats Openshift, we where unable to use Port 80 due to Security issues. We would propose checking for a environment variable (Example: app_port) and starting the Server on that Port.

Also in Openshift the File "./node_modules/splunk-sdk/bin/cli.js" is not writable during runntime, proposal to fix this is to add RUN chmod g+w node_modules/splunk-sdk/bin/cli.js in the dockerfile after

# Verify that Splunk SDK is installed
RUN node ./node_modules/splunk-sdk/sdkdo -V
RUN cd ./../../
mayurah commented 5 years ago

I will apply necessary changes after test. Specifically on cli.js and verifying sdk installation.

Thanks @Sp1ritfire for letting us know steps that worked for you.