docker-compose-sync/filerun.yml

15 lines
516 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

version: '3.8'
services:
filerun:
image: ghcr.io/filerun/filerun
container_name: filerun
ports:
- 80 # 映射主机80端口到容器80端口
volumes:
- /app/filerun/data:/var/www/filerun/data # 配置与日志存储目录
- /app:/var/www/filerun/storage # 用户文件存储目录
environment:
- PUID=1000 # 容器用户UID默认值
- PGID=1000 # 容器用户GID默认值
restart: unless-stopped # 宿主机重启后自动启动