We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 224c2b5 commit 36e3748Copy full SHA for 36e3748
README.md
@@ -72,6 +72,28 @@ Create a file: `srh-config/tokens.json`
72
}
73
74
```
75
+
76
+### Docker Compose
77
+You'll want the above `tokens.json` file but use this as your connection string:
78
+```json
79
+"connection_string": "redis://redis:6379"
80
+```
81
+docker-compose.yaml
82
+```yaml
83
+version: '3'
84
+services:
85
+ redis:
86
+ image: redis
87
+ ports:
88
+ - '6379:6379'
89
+ serverless-redis-http:
90
91
+ - '8079:80'
92
+ image: hiett/serverless-redis-http:latest
93
+ volumes:
94
+ - ./path/to/tokens.json:/app/srh-config/tokens.json
95
96
97
Notes:
98
- Srh_id can be anything you want, as long as it's a string, and unique.
99
- `max_connections` is the maximum number of connections for the pool.
0 commit comments