added apps!
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
# =============================================================================
|
||||
# .felhom.yml - App metadata for felhom-controller
|
||||
# =============================================================================
|
||||
|
||||
# --- Display info (shown on dashboard) ---
|
||||
display_name: "Wanderer"
|
||||
description: "Túra tervező és nyomkövetéssel"
|
||||
category: "travel"
|
||||
subdomain: "hike"
|
||||
slug: "wanderer"
|
||||
|
||||
# --- Resource hints (displayed on deploy screen) ---
|
||||
resources:
|
||||
mem_request: "100M"
|
||||
mem_limit: "384M"
|
||||
pi_compatible: true
|
||||
needs_hdd: false
|
||||
|
||||
# --- Deploy fields (first deployment only) ---
|
||||
deploy_fields:
|
||||
- env_var: DOMAIN
|
||||
label: "Domain"
|
||||
type: domain
|
||||
description: "A szerver domain neve"
|
||||
locked_after_deploy: true
|
||||
|
||||
- env_var: MEILI_MASTER_KEY
|
||||
label: "Keresőmotor kulcs"
|
||||
type: secret
|
||||
generate: "hex:16"
|
||||
locked_after_deploy: true
|
||||
|
||||
# --- App info (info page content) ---
|
||||
app_info:
|
||||
tagline: "Túra tervező - útvonalak, GPX nyomok és domborzati térképek"
|
||||
docs_url: "https://github.com/Flomp/wanderer"
|
||||
|
||||
use_cases:
|
||||
- 'Túra útvonalak tervezése és mentése'
|
||||
- 'GPX fájlok importálása és exportálása'
|
||||
- 'Domborzati profilok és statisztikák'
|
||||
- 'Fotók és jegyzetek hozzáadása az útvonalakhoz'
|
||||
- 'Útvonalak megosztása másokkal'
|
||||
|
||||
first_steps:
|
||||
- 'Nyisd meg a hike.DOMAIN címet a böngészőben'
|
||||
- 'Hozd létre a fiókodat'
|
||||
- 'Importálj egy GPX fájlt vagy tervezz új útvonalat'
|
||||
- 'Fedezd fel a térképes megjelenítést'
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
# Wanderer - Túra tervező és nyomkövetéssel
|
||||
# Domain: hike.${DOMAIN}
|
||||
# Database: None (file-based)
|
||||
# RAM: ~100M (mem_limit: 384M) | Pi-compatible: Yes
|
||||
#
|
||||
# Environment variables:
|
||||
# DOMAIN - Your domain (e.g., demo-felhom.eu)
|
||||
# MEILI_MASTER_KEY- Keresőmotor kulcs (auto-generated)
|
||||
|
||||
services:
|
||||
wanderer:
|
||||
image: ghcr.io/flomp/wanderer:0.16.0
|
||||
container_name: wanderer
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
wanderer-search:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
- TZ=Europe/Budapest
|
||||
- MEILI_URL=http://wanderer-search:7700
|
||||
- MEILI_MASTER_KEY=${MEILI_MASTER_KEY}
|
||||
- ORIGIN=https://hike.${DOMAIN}
|
||||
volumes:
|
||||
- wanderer_data:/app/pb_data
|
||||
networks:
|
||||
- traefik-public
|
||||
- wanderer-internal
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 384M
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:3000"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.wanderer.rule=Host(`hike.${DOMAIN}`)"
|
||||
- "traefik.http.routers.wanderer.entrypoints=websecure"
|
||||
- "traefik.http.routers.wanderer.tls=true"
|
||||
- "traefik.http.routers.wanderer.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.services.wanderer.loadbalancer.server.port=3000"
|
||||
|
||||
wanderer-search:
|
||||
image: getmeili/meilisearch:v1.12
|
||||
container_name: wanderer-search
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- MEILI_MASTER_KEY=${MEILI_MASTER_KEY}
|
||||
- MEILI_NO_ANALYTICS=true
|
||||
volumes:
|
||||
- wanderer_meili_data:/meili_data
|
||||
networks:
|
||||
- wanderer-internal
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 256M
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:7700/health"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 20s
|
||||
|
||||
volumes:
|
||||
wanderer_data:
|
||||
wanderer_meili_data:
|
||||
|
||||
networks:
|
||||
traefik-public:
|
||||
external: true
|
||||
wanderer-internal:
|
||||
Reference in New Issue
Block a user