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

12 lines
328 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
command: ["redis-server", --protected-mode yes, --port 6379,"--requirepass", P@ssw0rd!]