osnova-api-alert/docker/only_redis-compose.yaml

14 lines
392 B
YAML
Raw Normal View History

2024-10-08 19:29:50 +00:00
version: '3.3'
services:
redis:
image: redis:latest
restart: always
ports:
- "6379:6379"
volumes:
2024-10-08 21:14:07 +00:00
- ./local_redis_file/data:/root/redis
- ./local_redis_file/redis.conf:/usr/local/etc/redis/redis.conf
2024-10-09 11:26:34 +00:00
#command: ["redis-server", --protected-mode yes, --port 6379]
command: [redis-server, --protected-mode yes, --port 6379, --requirepass, P@ssw0rd!]