优化filerun端口映射及存储路径配置

This commit is contained in:
xiaochou164 2025-05-14 20:44:15 +08:00
parent 04f39e0438
commit 0ef6bbdc42
1 changed files with 3 additions and 3 deletions

View File

@ -5,10 +5,10 @@ services:
image: filerun/filerun
container_name: filerun
ports:
- "3080:80" # 映射主机80端口到容器80端口
- 80 # 映射主机80端口到容器80端口
volumes:
- /app/filerun/data:/var/www/filerun/data # 配置与日志存储目录
- /app:/var/www/filerun/storage # 用户文件存储目录
- /app/filerun/html:/var/www/html
- /app:/user-files
environment:
- PUID=1000 # 容器用户UID默认值
- PGID=1000 # 容器用户GID默认值