docker-compose-sync/filerun.yml

16 lines
429 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: filerun/filerun
container_name: filerun
ports:
- 80 # 映射主机80端口到容器80端口
volumes:
- /app/filerun/html:/var/www/html
- /app:/user-files
environment:
- PUID=1000 # 容器用户UID默认值
- PGID=1000 # 容器用户GID默认值
restart: unless-stopped # 宿主机重启后自动启动