updated app templates
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# =============================================================================
|
||||
# .felhom.yml — App metadata for felhom-controller
|
||||
# =============================================================================
|
||||
# Place alongside docker-compose.yml in each stack directory:
|
||||
# /opt/docker/stacks/stirling-pdf/.felhom.yml
|
||||
# =============================================================================
|
||||
|
||||
# --- Display info (shown on dashboard) ---
|
||||
display_name: "Stirling-PDF"
|
||||
description: "PDF szerkesztő és konvertáló eszköztár"
|
||||
category: "tools"
|
||||
subdomain: "pdf"
|
||||
|
||||
# --- Asset slug ---
|
||||
slug: "stirling-pdf"
|
||||
|
||||
# --- Resource hints (displayed on deploy screen) ---
|
||||
resources:
|
||||
mem_request: "200M"
|
||||
mem_limit: "512M"
|
||||
pi_compatible: true
|
||||
needs_hdd: false
|
||||
|
||||
# --- Deploy fields ---
|
||||
deploy_fields:
|
||||
- env_var: DOMAIN
|
||||
label: "Domain"
|
||||
type: domain
|
||||
description: "A szerver domain neve"
|
||||
locked_after_deploy: true
|
||||
@@ -1,12 +1,10 @@
|
||||
# Stirling-PDF - PDF Manipulation Toolkit
|
||||
# Domain: pdf.{{DOMAIN}}
|
||||
# Domain: pdf.${DOMAIN}
|
||||
# Database: None
|
||||
# RAM: ~200MB | Pi-compatible: Yes
|
||||
# RAM: ~200MB (mem_limit: 512M) | Pi-compatible: Yes
|
||||
#
|
||||
# Environment variables (set in Portainer):
|
||||
# (none required for basic usage)
|
||||
# SECURITY_ENABLELOGIN=true - Enable login (optional)
|
||||
# SECURITY_INITIALLOGIN_USERNAME / SECURITY_INITIALLOGIN_PASSWORD - if login enabled
|
||||
# Environment variables:
|
||||
# DOMAIN - Your domain (e.g., demo-felhom.eu)
|
||||
#
|
||||
# First-time setup:
|
||||
# No login by default — accessible immediately.
|
||||
@@ -27,6 +25,10 @@ services:
|
||||
- stirling_training:/usr/share/tessdata
|
||||
networks:
|
||||
- traefik-public
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 512M
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8080/api/v1/info/status"]
|
||||
interval: 30s
|
||||
@@ -35,7 +37,7 @@ services:
|
||||
start_period: 20s
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.stirling-pdf.rule=Host(`pdf.{{DOMAIN}}`)"
|
||||
- "traefik.http.routers.stirling-pdf.rule=Host(`pdf.${DOMAIN}`)"
|
||||
- "traefik.http.routers.stirling-pdf.entrypoints=websecure"
|
||||
- "traefik.http.routers.stirling-pdf.tls=true"
|
||||
- "traefik.http.routers.stirling-pdf.tls.certresolver=letsencrypt"
|
||||
@@ -47,4 +49,4 @@ volumes:
|
||||
|
||||
networks:
|
||||
traefik-public:
|
||||
external: true
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user