mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-09-21 13:06:16 +08:00
20 lines
457 B
YAML
20 lines
457 B
YAML
|
version: '3'
|
||
|
services:
|
||
|
redis-6.0.16:
|
||
|
image: redis:6.0.16
|
||
|
restart: always
|
||
|
networks:
|
||
|
- 1panel
|
||
|
ports:
|
||
|
- ${PANEL_APP_PORT_HTTP}:6379
|
||
|
command: redis-server /etc/redis/redis.conf --save 20 1 --loglevel warning --requirepass ${PANEL_DB_ROOT_PASSWORD}
|
||
|
volumes:
|
||
|
- ./data:/data
|
||
|
- ./conf/redis.conf:/etc/redis/redis.conf
|
||
|
- ./logs:/logs
|
||
|
labels:
|
||
|
createdBy: "Apps"
|
||
|
|
||
|
networks:
|
||
|
1panel:
|
||
|
external: true
|