Comments (2)
This is the Docker Componse
configuration file I'm using:
version: "3.8"
networks:
global-network:
driver: bridge
external: false
name: mountebank-network
services:
mountebank:
command: ["start", "--allow-injection", "--configfile", "/app/config/imposters.ejs", "--loglevel", "debug"]
container_name: mountebank
image: docker.io/bbyars/mountebank:2.8.1 # https://hub.docker.com/r/bbyars/mountebank/
networks:
- global-network
ports:
- "8081:8081"
- "2525:2525"
user: $USER_ID:$GROUP_ID
volumes:
- ./config/:/app/config/
# /app/config/imposters.ejs
{
"imposters": [
<%- include("path/to/your/imposter-configuration.json") -%>
]
}
...and I start the whole thing with: GROUP_ID="$(id --group)" USER_ID="$(id --user)" docker compose up --detach --remove-orphans
from mountebank.
Removing the user
key in the Docker Compose
configuration solves the problem, but it creates another one because the mounted volume now changes the ownership of the file(s) in the host 😬
from mountebank.
Related Issues (20)
- Stable release with ARM support
- Master commits break projects using the latest version HOT 3
- Creating & deleting imposters in a load balanced setup HOT 1
- Expect field in the header HOT 1
- Mountebank doesn't show imposters metrics
- QUESTION: How to copy (behavior) integer value from path to body field? HOT 1
- ee key too small HOT 6
- How to close tcp connection by Imposter HOT 1
- [Feature Request] Allow mountebank to send back statusMesage
- Mongodb as log transport
- bug in src/util/helpers.js merge function for case with an Array field
- Mountebank beautifies JSON responses from proxies before replying to the caller.
- Copied request object coming back as `[object Object]`
- Mocha test hangs after all tests pass when `imposters` endpoint is called. HOT 1
- How to configure mountebank to handle subdomains?
- GET imposter(s) with `replayable: true` does not return `allowCORS` property
- Can Mountebank proxy batch request?
- Async Support for imposterRepository needs to be deeper.
- Bug(s): 0-byte request files causing unhandled promise exceptions and application crash
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 mountebank.