mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-21 18:06:36 +02:00
add membrane
This commit is contained in:
parent
920cf78e60
commit
3255f424ca
@ -414,6 +414,7 @@ A collection of delicious docker recipes.
|
||||
- [x] mariadb :bucket:
|
||||
- [x] matomo
|
||||
- [x] bluenviron/mediamtx
|
||||
- [x] predic8/membrane
|
||||
- [x] memgraph :bucket:
|
||||
- [x] lab
|
||||
- [x] memgraph
|
||||
|
6
membrane/README.md
Normal file
6
membrane/README.md
Normal file
@ -0,0 +1,6 @@
|
||||
membrane
|
||||
========
|
||||
|
||||
[Membrane][1] is API gateway for REST, OpenAPI, GraphQL and SOAP written in Java.
|
||||
|
||||
[1]: https://github.com/membrane/api-gateway
|
10
membrane/data/proxies.xml
Normal file
10
membrane/data/proxies.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<api port="2000">
|
||||
<rateLimiter requestLimit="3" requestLimitDuration="PT30S"/>
|
||||
<response>
|
||||
<javascript>
|
||||
var body = JSON.stringify({foo: 7, bar: 42});
|
||||
Response.ok(body).contentType("application/json").build();
|
||||
</javascript>
|
||||
</response>
|
||||
<return/>
|
||||
</api>
|
9
membrane/docker-compose.yml
Normal file
9
membrane/docker-compose.yml
Normal file
@ -0,0 +1,9 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
membrane:
|
||||
image: predic8/membrane:5.6
|
||||
ports:
|
||||
- "2000:2000"
|
||||
volumes:
|
||||
- ./data:/opt/membrane/conf
|
||||
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user