1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-20 16:59:17 +08:00
1Panel/apps/redis/versions/6.0.16/docker-compose.yml

20 lines
457 B
YAML
Raw Normal View History

version: '3'
services:
redis-6.0.16:
image: redis:6.0.16
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:
2022-12-19 12:49:19 +08:00
createdBy: "Apps"
2022-12-04 15:59:34 +08:00
networks:
1panel:
external: true