appstore-1panel/apps/redis/versions/7.0.5/docker-compose.yml
2023-02-07 15:21:24 +08:00

20 lines
418 B
YAML

version: '3'
services:
redis:
image: redis:7.0.5
restart: always
networks:
- 1panel
ports:
- ${PANEL_APP_PORT_HTTP}:6379
command: redis-server /etc/redis/redis.conf --requirepass ${PANEL_DB_ROOT_PASSWORD}
volumes:
- ./data:/data
- ./conf/redis.conf:/etc/redis/redis.conf
- ./logs:/logs
labels:
createdBy: "Apps"
networks:
1panel:
external: true