Coder Social home page Coder Social logo

Run the server docker image about ocsf-server HOT 3 CLOSED

mranv avatar mranv commented on August 29, 2024
Run the server docker image

from ocsf-server.

Comments (3)

jp-harvey avatar jp-harvey commented on August 29, 2024

Hi @mranv, what that means is map the /app/schema path in the container to the /path/to/ocsf-schema folder on the local machine, the latter being the ocsf-schema path. So if your ocsf-schema repo is in /home/mranv/repos/ocsf-schema then the command would look like:

docker run -it --rm --volume /home/mranv/repos/ocsf-schema:/app/schema -p 8080:8080 -p 8443:8443 ocsf-server 

Does that solve it?

from ocsf-server.

rmouritzen-splunk avatar rmouritzen-splunk commented on August 29, 2024

The ocsf-server repo's README.md was updated with an example docker run with an example replacement of /path/to.

About the SSL certificate, please note that the self-signed certificate is not actually used in the actual https://schema.ocsf.io server. This server uses Nginx in front of the web app, and Nginx is handling the SSL with a properly signed certificate.

If you'd like to host your fork of the OCSF server, either want to do the same, or if you want to have the underlying Erlang VM handle SSL, you'll need to dig in to how the Phoenix web server configuration gets passed the certificate details. This may require a change to the Phoenix configuration file if your certificate's private key requires a password. This is a bit much to describe here, and there is more than one way to do this, so if you need to go down this path and get stuck, let me know and I can help... and if we do this, I'd probably added the require options to the app, and describe it all in the README.md.

from ocsf-server.

rmouritzen-splunk avatar rmouritzen-splunk commented on August 29, 2024

No further questions, so closing.

from ocsf-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.