Running mockoon in docker/kubernetes #771
Replies: 1 comment
-
Ho, I don't if you had a look at our documentation. We provide a Docker image which embarks Mockoon CLI and to which you provide most parameters at runtime. You have first to identify where you Mockoon's data file is located, put it somewhere where your container can access it, and then run a similar command: Concerning your last question, there is no such feature right now. The mock file is supposed to be explored using the UI. You can export to an OpenAPI spec file, but you have to be aware that there is no 1:1 equivalent between a Mockoon file and an OpenAPI spec. Let me know if you have questions. |
Beta Was this translation helpful? Give feedback.
-
Hello Community.
We want to run mockoon in a dockerized environment,
I would need some insight/advice for the following points:
how to load json data into the cli
can a dynamic port set? (cant set a direct port in kubernetes, so we need the possibility override port dynamically)
is there a way to have a generated json documentation? not sure, maybe based on rules, description of response etc, so if a new dev joins the team can check what the JSON file is about, what it does, what is it responsible for without loading the file into code editor or into mockoon.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions