2025-06-25 23:15:40 +08:00
|
|
|
version: "3.8"
|
2023-07-06 13:49:46 +08:00
|
|
|
services:
|
|
|
|
|
cloudreve:
|
2025-08-06 05:49:19 +08:00
|
|
|
image: cloudreve/cloudreve:4.4.0
|
2023-07-06 13:49:46 +08:00
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
|
restart: always
|
|
|
|
|
ports:
|
2025-06-23 12:17:24 +08:00
|
|
|
- ${PANEL_APP_PORT_HTTP}:5212
|
|
|
|
|
environment:
|
2025-06-25 00:08:42 +08:00
|
|
|
- CR_CONF_Database.Type=mysql
|
2025-06-23 12:17:24 +08:00
|
|
|
- CR_CONF_Database.Host=${PANEL_DB_HOST}
|
|
|
|
|
- CR_CONF_Database.Name=${PANEL_DB_NAME}
|
|
|
|
|
- CR_CONF_Database.User=${PANEL_DB_USER}
|
|
|
|
|
- CR_CONF_Database.Password=${PANEL_DB_USER_PASSWORD}
|
2025-06-25 00:08:42 +08:00
|
|
|
- CR_CONF_Database.Port=3306
|
2025-06-23 12:17:24 +08:00
|
|
|
- CR_CONF_Redis.Server=${PANEL_REDIS_HOST}:6379
|
|
|
|
|
- CR_CONF_Redis.Password=${PANEL_REDIS_ROOT_PASSWORD}
|
2023-07-06 13:49:46 +08:00
|
|
|
volumes:
|
2025-06-23 12:17:24 +08:00
|
|
|
- ./data:/cloudreve/data
|
|
|
|
|
labels:
|
|
|
|
|
createdBy: "Apps"
|
|
|
|
|
networks:
|
|
|
|
|
- 1panel-network
|
|
|
|
|
networks:
|
|
|
|
|
1panel-network:
|
2023-07-06 13:49:46 +08:00
|
|
|
external: true
|