fancyindex
Nginx with Fancyindex : https://github.com/vonsy/fancyindex
http://localhost/private, Login required 
http://localhsot/, No user, password required 
Docker Run
docker run -d \
--name fancyindex \
-e PUID=3000 \
-e PGID=3000 \
-e TZ=Asia/Shanghai \
-e USER=Neo \
-e PASSWORD=RedPill$ \
-p 80:80 \
-p 443:443 \
-v /zion/share/nginx/nginx.conf:/etc/nginx/nginx.conf \
-v /zion/share/private:/private \
-v /zion/share/public:/public \
--restart unless-stopped \
vonsy/fancyindex:1.23.3
Docker Compose File
version: "2.1"
services:
transmission:
image: vonsy/fancyindex:1.23.3
container_name: fancyindex
environment:
- PUID=3000
- PGID=3000
- TZ=Asia/Shanghai
- USER=Neo
- PASSWORD=RedPill$
volumes:
- /zion/share/nginx/nginx.conf:/etc/nginx/nginx.conf
- /zion/share/private:/private
- /zion/share/public:/public
ports:
- 80:80
- 443:443
restart: unless-stopped
Docker multi-stage builds
docker build --target builder -t fancyindexbuilder:1.23.3 .
docker build -t fancyindex:1.23.3 .
Customized settings
If you need to customize the settings, use docker cp to copy out the nginx.conf configuration file, modify the settings and mount it.
docker cp fancyindex:/etc/nginx/nginx.conf ~/Desktop/
