You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 26, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,47 +94,47 @@ Note that without API key, you will be limited to *10* requests in a rolling *60
94
94
95
95
A cache is useful because if you perform more call to NVD database that allowed, your calls will significantly slow down. Gobinsec tries to build caches in this order:
96
96
97
-
### Memcachier
97
+
### Memcached
98
98
99
-
A cache is built with*Memcachier* if following section is found in configuration file:
99
+
If no configuration is found for*Memcachier*, it will try to build a cache for *Memcached*, if following section is found in configuration file:
100
100
101
101
```yaml
102
-
memcachier:
102
+
memcached:
103
103
address: ...
104
104
expiration: ...
105
-
username: ...
106
-
password: ...
107
105
```
108
106
109
-
Else, il will look for following environment variables:
107
+
Else it will look for following environment variables:
110
108
111
109
```
112
-
MEMCACHIER_ADDRESS
113
-
MEMCACHIER_EXPIRATION
114
-
MEMCACHIER_USERNAME
115
-
MEMCACHIER_PASSWORD
110
+
MEMCACHED_ADDRESS
111
+
MEMCACHED_EXPIRATION
116
112
```
117
113
118
-
[Memcachier](https://www.memcachier.com) is an online cache provider with free tiers.
114
+
A sample [docker-compose.yml](https://github.com/intercloud/gobinsec/blob/main/docker-compose.yml) file to start a *memcached* instance is provided in this project.
119
115
120
-
### Memcached
116
+
### Memcachier
121
117
122
-
If no configuration is found for*Memcachier*, it will try to build a cache for *Memcached*, if following section is found in configuration file:
118
+
A cache is built with*Memcachier* if following section is found in configuration file:
123
119
124
120
```yaml
125
-
memcached:
121
+
memcachier:
126
122
address: ...
127
123
expiration: ...
124
+
username: ...
125
+
password: ...
128
126
```
129
127
130
-
Else it will look for following environment variables:
128
+
Else, il will look for following environment variables:
131
129
132
130
```
133
-
MEMCACHED_ADDRESS
134
-
MEMCACHED_EXPIRATION
131
+
MEMCACHIER_ADDRESS
132
+
MEMCACHIER_EXPIRATION
133
+
MEMCACHIER_USERNAME
134
+
MEMCACHIER_PASSWORD
135
135
```
136
136
137
-
A sample [docker-compose.yml](https://github.com/intercloud/gobinsec/blob/main/docker-compose.yml) file to start a *memcached* instance is provided in this project.
137
+
[Memcachier](https://www.memcachier.com) is an online cache provider with free tiers.
0 commit comments