mirror of
https://github.com/acepanel/templates.git
synced 2026-02-04 08:57:16 +08:00
feat: init
This commit is contained in:
16
redis/docker-compose.yml
Normal file
16
redis/docker-compose.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
services:
|
||||
redis:
|
||||
image: redis:8.4.0-alpine
|
||||
restart: always
|
||||
networks:
|
||||
- acepanel-network
|
||||
ports:
|
||||
- ${REDIS_PORT}:6379
|
||||
command: redis-server /etc/redis/redis.conf ${REDIS_REDIS_ROOT_PASSWORD:+--requirepass "${REDIS_REDIS_ROOT_PASSWORD}"}
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- ./conf/redis.conf:/etc/redis/redis.conf
|
||||
- ./logs:/logs
|
||||
networks:
|
||||
acepanel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user