Comments (3)
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.
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.
No further questions, so closing.
from ocsf-server.
Related Issues (20)
- Container profile is incorrectly shown on most class detail pages HOT 1
- Clicking "JSON Schema" from "Base Event" page leads to 404 HOT 1
- The "source" of object attributes are not accurate
- JSON Schema export HOT 4
- Show enums for attributes in the dictionary view
- Presentation of redefined attributes types in objects is incorrect
- JSON Schema link is broken HOT 1
- Improve profile presentation
- Support observable definitions in patch extends
- Parent_process recursion in sample events HOT 1
- Rework extension and profile checkboxes HOT 1
- Add "platform extension" concept HOT 1
- 502 on https://schema.ocsf.io HOT 1
- Excessive warnings during startup against existing 1.2.0 OCSF HOT 2
- Event validation improvements HOT 3
- v2 validation APIs are not handling enum arrays HOT 2
- "See Specific Usage" description convention enforcement
- Support modifying constraints HOT 2
- Add category_uid to base of compiled class definitions
- Swagger API curl command insufficient for schema.ocsf.io's Self-Signed Certificate
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocsf-server.