Merge pull request #1864 from devnote-dev/redis

fix: update Redis startup
This commit is contained in:
Michael (Parker) Parker 2022-09-29 10:37:24 -07:00 committed by GitHub
commit bd88f39040
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,10 @@
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker.
## Server Startup
You must first authenticate before trying to execute commands, to do this run `AUTH <YOUR_PASSWORD_HERE>` (without the `<>`). This should be the same as the password set in the `SERVER_PASSWORD` variable.
## Minimum RAM warning ## Minimum RAM warning
It's recommended to have 4gb of RAM for redis It's recommended to have 4gb of RAM for redis

View File

@ -13,7 +13,7 @@
"ghcr.io\/parkervcp\/yolks:redis_6": "ghcr.io\/parkervcp\/yolks:redis_6" "ghcr.io\/parkervcp\/yolks:redis_6": "ghcr.io\/parkervcp\/yolks:redis_6"
}, },
"file_denylist": [], "file_denylist": [],
"startup": "\/usr\/local\/bin\/redis-server \/home\/container\/redis.conf --save 60 1 --dir \/home\/container\/ --bind 0.0.0.0 --port {{SERVER_PORT}} --requirepass {{SERVER_PASSWORD}} --maxmemory {{SERVER_MEMORY}}mb --daemonize yes && redis-cli -p {{SERVER_PORT}} -a {{SERVER_PASSWORD}}; redis-cli -p {{SERVER_PORT}} -a {{SERVER_PASSWORD}} shutdown save", "startup": "\/usr\/local\/bin\/redis-server \/home\/container\/redis.conf --save 60 1 --dir \/home\/container\/ --bind 0.0.0.0 --port {{SERVER_PORT}} --requirepass {{SERVER_PASSWORD}} --maxmemory {{SERVER_MEMORY}}mb --daemonize yes && redis-cli -p {{SERVER_PORT}}; redis-cli -p {{SERVER_PORT}} -a {{SERVER_PASSWORD}} shutdown save",
"config": { "config": {
"files": "{}", "files": "{}",
"startup": "{\r\n \"done\": \"Configuration loaded\"\r\n}", "startup": "{\r\n \"done\": \"Configuration loaded\"\r\n}",