Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis Stack #179

Open
carlosmgv02 opened this issue Jun 14, 2023 · 1 comment
Open

Redis Stack #179

carlosmgv02 opened this issue Jun 14, 2023 · 1 comment

Comments

@carlosmgv02
Copy link

Hello, is there any way of starting a docker container which uses the redis-stack image and set a securtity password?

@vic-951
Copy link

vic-951 commented Jan 4, 2024

Yes you can do it with docker compose and a configuration file. In the configuration file you can put your password

version: '3'

services:
  redis:
    image: redis/redis-stack-server:latest
    restart: always
    container_name: rds
    command: redis-server /usr/local/etc/redis/redis.conf
    ports:
      - "7001:6379"
    volumes:
      - /home/user/docker/redis/data:/data
      - /home/user/docker/redis/conf/redis.conf:/usr/local/etc/redis/redis.conf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants