Replies: 2 comments 1 reply
-
@MarcS1975 Did you make sure that |
Beta Was this translation helpful? Give feedback.
0 replies
-
Both exist
…On Fri, 29 Dec 2023, 06:49 sundb, ***@***.***> wrote:
@MarcS1975 <https://github.com/MarcS1975> Did you make sure that
/srv/mypath/Dockerapps240/Redis_conf/redis.conf exists?
If yes maybe you can use docker exec -it <container_id_or_name> /bin/bash
to get into the redis container to see if /root/redis and
/usr/local/etc/redis/redis.conf are empty.
—
Reply to this email directly, view it on GitHub
<#12894 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMNNHGWXIS56N7U3LYQQW5TYLZRZFAVCNFSM6AAAAABBESTKM6VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TSNZQGI2DI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Although I have defined a config in the compose file, my redis container log always says " Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf"
Also, the persistent Redis folder is always empty. Shouldn't there be data in it?
I can see the folders inside the container though.
I am using the following compose:
version: '3.3'
services:
redis:
image: redis:latest
restart: always
ports:
- "6379:6379"
volumes:
- /srv/mypath/Dockerapps240/Redis:/root/redis
- /srv/mypath/Dockerapps240/Redis_conf/redis.conf:/usr/local/etc/redis/redis.conf
environment:
- REDIS_PASSWORD=xxxxxxxx
- REDIS_PORT=6379
- REDIS_DATABASES=16
Beta Was this translation helpful? Give feedback.
All reactions