updated app templates
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
# =============================================================================
|
||||
# .felhom.yml — App metadata for felhom-controller
|
||||
# =============================================================================
|
||||
# Place alongside docker-compose.yml in each stack directory:
|
||||
# /opt/docker/stacks/filebrowser/.felhom.yml
|
||||
# =============================================================================
|
||||
|
||||
# --- Display info (shown on dashboard) ---
|
||||
display_name: "FileBrowser"
|
||||
description: "Egyszerű webes fájlkezelő"
|
||||
category: "tools"
|
||||
subdomain: "files"
|
||||
|
||||
# --- Asset slug ---
|
||||
slug: "filebrowser"
|
||||
|
||||
# --- Resource hints (displayed on deploy screen) ---
|
||||
resources:
|
||||
mem_request: "30M"
|
||||
mem_limit: "128M"
|
||||
pi_compatible: true
|
||||
needs_hdd: true
|
||||
|
||||
# --- Deploy fields ---
|
||||
deploy_fields:
|
||||
- env_var: DOMAIN
|
||||
label: "Domain"
|
||||
type: domain
|
||||
description: "A szerver domain neve"
|
||||
locked_after_deploy: true
|
||||
|
||||
- env_var: HDD_PATH
|
||||
label: "Adattárolási útvonal"
|
||||
type: path
|
||||
required: true
|
||||
placeholder: "/mnt/hdd_1"
|
||||
description: "A külső merevlemez elérési útja, ahol a fájlok tárolódnak"
|
||||
locked_after_deploy: true
|
||||
@@ -1,9 +1,9 @@
|
||||
# FileBrowser - Simple Web File Manager
|
||||
# Domain: files.${DOMAIN}
|
||||
# Database: None (file-based)
|
||||
# RAM: ~30MB | Pi-compatible: Yes
|
||||
# RAM: ~30MB (mem_limit: 128M) | Pi-compatible: Yes
|
||||
#
|
||||
# Environment variables (set in Portainer):
|
||||
# Environment variables:
|
||||
# DOMAIN - Your domain (e.g., demo-felhom.eu)
|
||||
# HDD_PATH - HDD mount path (e.g., /mnt/hdd_1)
|
||||
#
|
||||
@@ -28,6 +28,10 @@ services:
|
||||
- filebrowser_config:/database
|
||||
networks:
|
||||
- traefik-public
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 128M
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:80/health"]
|
||||
interval: 30s
|
||||
@@ -47,4 +51,4 @@ volumes:
|
||||
|
||||
networks:
|
||||
traefik-public:
|
||||
external: true
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user