mirror of
https://github.com/hhftechnology/Marketplace.git
synced 2026-04-29 18:28:14 -05:00
1.1 KiB
1.1 KiB
Redis Service
An in-memory data structure store, used as a database, cache, and message broker.
Features
- In-memory data storage
- Data persistence with AOF (Append Only File)
- Redis Insight web UI for monitoring and management
- High-performance caching
Configuration
- Copy
.env.exampleto.envand update the variables - Set a secure
REDIS_PASSWORDfor production use - Update the
template.tomlif using template variables
Usage
docker-compose up -d
Ports
6379: Redis server port (configurable viaREDIS_PORT)8001: Redis Insight web UI port (configurable viaREDIS_INSIGHT_PORT)
Environment Variables
REDIS_PORT: Redis server port (default: 6379)REDIS_INSIGHT_PORT: Redis Insight web UI port (default: 8001)REDIS_PASSWORD: Password for Redis authentication (optional but recommended)
Access
- Redis CLI:
redis-cli -h localhost -p 6379 - Redis Insight:
http://localhost:8001orhttp://${MAIN_DOMAIN}/redis
Volumes
redis_volume_data: Persistent storage for Redis dataredis_insight_volume_data: Persistent storage for Redis Insight data