mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 13:23:02 +01:00
update krakend
This commit is contained in:
@@ -297,6 +297,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] haproxy
|
- [x] haproxy
|
||||||
- [x] jmxtrans/jmxtrans
|
- [x] jmxtrans/jmxtrans
|
||||||
- [x] wurstmeister/kafka
|
- [x] wurstmeister/kafka
|
||||||
|
- [x] devopsfaith/krakend
|
||||||
- [x] netdata/netdata
|
- [x] netdata/netdata
|
||||||
- [x] nextcloud
|
- [x] nextcloud
|
||||||
- [x] sonatype/nexus3
|
- [x] sonatype/nexus3
|
||||||
|
|||||||
10
krakend/README.md
Normal file
10
krakend/README.md
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
krakend
|
||||||
|
=======
|
||||||
|
|
||||||
|
[KrakenD][1] is a high-performance open source API Gateway.
|
||||||
|
|
||||||
|
Its core functionality is to create an API that acts as an aggregator of many
|
||||||
|
microservices into single endpoints, doing the heavy-lifting automatically for
|
||||||
|
you: aggregate, transform, filter, decode, throttle, auth and more.
|
||||||
|
|
||||||
|
[1]: https://www.krakend.io/
|
||||||
24
krakend/data/krakend.json
Normal file
24
krakend/data/krakend.json
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"version": 2,
|
||||||
|
"name": "My httpbin gateway",
|
||||||
|
"port": 8080,
|
||||||
|
"endpoints": [
|
||||||
|
{
|
||||||
|
"endpoint": "/httpbin",
|
||||||
|
"backend": [
|
||||||
|
{
|
||||||
|
"host": [
|
||||||
|
"https://httpbin.org"
|
||||||
|
],
|
||||||
|
"url_pattern": "/headers"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"host": [
|
||||||
|
"https://httpbin.org"
|
||||||
|
],
|
||||||
|
"url_pattern": "/ip"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
7
krakend/docker-compose.yml
Normal file
7
krakend/docker-compose.yml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
krakend:
|
||||||
|
image: devopsfaith/krakend
|
||||||
|
ports:
|
||||||
|
- "8080:8080"
|
||||||
|
volumes:
|
||||||
|
- ./data:/etc/krakend
|
||||||
|
restart: unless-stopped
|
||||||
Reference in New Issue
Block a user