Skip to content

Commit

Permalink
#110: deviding appsettings into developemnt and production
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintAngeLs committed Jan 14, 2024
1 parent 70b7de9 commit 2d75f94
Show file tree
Hide file tree
Showing 13 changed files with 1,260 additions and 324 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
},
"consul": {
"enabled": true,
"url": "http://consul:8500",
"url": "http://localhost:8500",
"service": "customers-service",
"address": "customers-service",
"port": "80",
"pingEnabled": true,
"address": "docker.for.win.localhost",
"port": "5002",
"pingEnabled": false,
"pingEndpoint": "ping",
"pingInterval": 3,
"removeAfterInterval": 3
},
"fabio": {
"enabled": true,
"url": "http://fabio:9999",
"url": "http://localhost:9999",
"service": "customers-service"
},
"httpClient": {
Expand Down Expand Up @@ -51,7 +51,7 @@
},
"elk": {
"enabled": false,
"url": "http://elkm:9200"
"url": "http://localhost:9200"
},
"file": {
"enabled": true,
Expand All @@ -60,15 +60,15 @@
},
"seq": {
"enabled": true,
"url": "http://seq:5341",
"url": "http://localhost:5341",
"apiKey": "secret"
},
"tags": {}
},
"jaeger": {
"enabled": true,
"serviceName": "customers",
"udpHost": "jaeger",
"udpHost": "localhost",
"udpPort": 6831,
"sampler": "const",
"excludePaths": ["/", "/ping", "/metrics"]
Expand All @@ -86,7 +86,7 @@
"enabled": true,
"influxEnabled": false,
"prometheusEnabled": true,
"influxUrl": "http://influx:8086",
"influxUrl": "http://localhost:8086",
"database": "swiftparcel",
"env": "local",
"interval": 5
Expand Down Expand Up @@ -118,7 +118,7 @@
"virtualHost": "/",
"port": 5672,
"hostnames": [
"rabbitmq"
"localhost"
],
"requestedConnectionTimeout": "00:00:30",
"requestedHeartbeat": "00:01:00",
Expand Down Expand Up @@ -148,7 +148,7 @@
"spanContextHeader": "span_context"
},
"redis": {
"connectionString": "redis",
"connectionString": "localhost",
"instance": "customers:"
},
"swagger": {
Expand All @@ -162,7 +162,7 @@
},
"security": {
"certificate": {
"enabled": false,
"enabled": true,
"header": "Certificate",
"skipRevocationCheck": false,
"allowedDomains": ["swiftparcel.io"],
Expand Down

This file was deleted.

Loading

0 comments on commit 2d75f94

Please sign in to comment.