updated templates for Portainer
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
# FileBrowser - Simple Web File Manager
|
||||
# Domain: files.{{DOMAIN}}
|
||||
# Domain: files.${DOMAIN}
|
||||
# Database: None (file-based)
|
||||
# RAM: ~30MB | Pi-compatible: Yes
|
||||
#
|
||||
# Environment variables (set in Portainer):
|
||||
# (none required)
|
||||
# DOMAIN - Your domain (e.g., demo-felhom.eu)
|
||||
# HDD_PATH - HDD mount path (e.g., /mnt/hdd_1)
|
||||
#
|
||||
# Storage layout:
|
||||
# Browsable files → {{HDD_PATH}}/storage/filebrowser (HDD, host path — user files only)
|
||||
# App config/DB → filebrowser_config (named volume, NVMe)
|
||||
# Browsable files → ${HDD_PATH}/storage/filebrowser (HDD, host path — user files only)
|
||||
# App config/DB → filebrowser_config (named volume, NVMe)
|
||||
#
|
||||
# First-time setup:
|
||||
# Default login: admin / admin — change immediately!
|
||||
@@ -23,7 +24,7 @@ services:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
volumes:
|
||||
- {{HDD_PATH}}/storage/filebrowser:/srv
|
||||
- ${HDD_PATH}/storage/filebrowser:/srv
|
||||
- filebrowser_config:/database
|
||||
networks:
|
||||
- traefik-public
|
||||
@@ -35,7 +36,7 @@ services:
|
||||
start_period: 10s
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.filebrowser.rule=Host(`files.{{DOMAIN}}`)"
|
||||
- "traefik.http.routers.filebrowser.rule=Host(`files.${DOMAIN}`)"
|
||||
- "traefik.http.routers.filebrowser.entrypoints=websecure"
|
||||
- "traefik.http.routers.filebrowser.tls=true"
|
||||
- "traefik.http.routers.filebrowser.tls.certresolver=letsencrypt"
|
||||
|
||||
Reference in New Issue
Block a user