1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-21 01:09:17 +08:00
1Panel/apps/redis/versions/7.0.5/docker-compose.yml

20 lines
455 B
YAML
Raw Normal View History

version: '3'
services:
redis-7.0.5:
image: redis:7.0.5
restart: always
networks:
- 1panel
ports:
- ${PANEL_APP_PORT_HTTP}:6379
2022-11-22 17:01:34 +08:00
command: redis-server /etc/redis/redis.conf --save 20 1 --loglevel warning --requirepass ${PANEL_DB_ROOT_PASSWORD}
volumes:
- ./data:/data
2022-11-22 17:01:34 +08:00
- ./conf/redis.conf:/etc/redis/redis.conf
- ./logs:/logs
2022-12-04 15:59:34 +08:00
labels:
createdBy: "apps"
networks:
1panel:
external: true