Skip to content

Commit

Permalink
#463 reverted changes to mongo example, updated circle config
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxranger committed Mar 18, 2021
1 parent ae55e83 commit 250fa14
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ workflows:
filters:
branches:
only:
- janus#463-cassandra-repo
- master
33 changes: 21 additions & 12 deletions examples/front-proxy-mongo/apis/example.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
{
"name" : "my-endpoint",
"active" : true,
"proxy" : {
"listen_path" : "/example/*",
"upstreams" : {
"balancing": "roundrobin",
"targets": [
{"target": "http://www.mocky.io/v2/595625d22900008702cd71e8"}
]
[
{
"name" : "example",
"active" : true,
"proxy" : {
"preserve_host" : false,
"listen_path" : "/example/*",
"upstreams" : {
"balancing": "roundrobin",
"targets": [
{"target": "http://service1:8080/"}
]
},
"strip_path" : false,
"append_path" : false,
"methods" : ["GET"]
},
"methods" : ["GET"]
"health_check": {
"url": "http://service1:8080/status",
"timeout": 3
}
}
}
]
12 changes: 6 additions & 6 deletions examples/front-proxy-mongo/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ services:
- "27017:27017"

# This container is just a helper to seed the database
# mongo-seed:
# build:
# context: .
# dockerfile: seed.Dockerfile
# depends_on:
# - janus-database
mongo-seed:
build:
context: .
dockerfile: seed.Dockerfile
depends_on:
- janus-database

service1:
image: rodolpheche/wiremock
Expand Down

0 comments on commit 250fa14

Please sign in to comment.