Enhance README.md with detailed service descriptions and port matrix for Docker services in the home lab environment.
This commit is contained in:
42
redis/compose.yaml
Normal file
42
redis/compose.yaml
Normal file
@@ -0,0 +1,42 @@
|
||||
services:
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
container_name: redis
|
||||
restart: unless-stopped
|
||||
command: >
|
||||
redis-server
|
||||
--requirepass Olenoob2209
|
||||
--appendonly yes
|
||||
ports:
|
||||
- "6379:6379" # Optional: expose only if needed
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
environment:
|
||||
- REDIS_PASSWORD=Olenoob2209
|
||||
networks:
|
||||
- redis_net
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "-a", "Olenoob2209", "ping"]
|
||||
interval: 10s
|
||||
timeout: 3s
|
||||
retries: 5
|
||||
start_period: 5s
|
||||
|
||||
redisinsight:
|
||||
image: redislabs/redisinsight:2.70
|
||||
container_name: redisinsight
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "5540:5540" # Access via http://localhost:8001
|
||||
networks:
|
||||
- redis_net
|
||||
volumes:
|
||||
- redisinsight_data:/db
|
||||
|
||||
volumes:
|
||||
redis_data:
|
||||
redisinsight_data:
|
||||
|
||||
networks:
|
||||
redis_net:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user