appstore-1panel/apps/redis/6.2.14/docker-compose.yml
2024-04-20 23:29:52 +08:00

19 lines
481 B
YAML

services:
redis:
image: redis:6.2.14
restart: always
container_name: ${CONTAINER_NAME}
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:6379
command: redis-server /etc/redis/redis.conf --loglevel warning --requirepass ${PANEL_REDIS_ROOT_PASSWORD}
volumes:
- ./data:/data
- ./conf/redis.conf:/etc/redis/redis.conf
- ./logs:/logs
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true