added apps!
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
# =============================================================================
|
||||
# .felhom.yml - App metadata for felhom-controller
|
||||
# =============================================================================
|
||||
|
||||
# --- Display info (shown on dashboard) ---
|
||||
display_name: "Cal.com"
|
||||
description: "Nyílt forráskódú időpontfoglaló (Calendly alternatíva)"
|
||||
category: "travel"
|
||||
subdomain: "cal"
|
||||
slug: "calcom"
|
||||
|
||||
# --- Resource hints (displayed on deploy screen) ---
|
||||
resources:
|
||||
mem_request: "200M"
|
||||
mem_limit: "768M"
|
||||
pi_compatible: false
|
||||
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: NEXTAUTH_SECRET
|
||||
label: "NextAuth titkosítási kulcs"
|
||||
type: secret
|
||||
generate: "hex:32"
|
||||
locked_after_deploy: true
|
||||
|
||||
- env_var: CALENDSO_ENCRYPTION_KEY
|
||||
label: "Titkosítási kulcs"
|
||||
type: secret
|
||||
generate: "hex:16"
|
||||
locked_after_deploy: true
|
||||
|
||||
- env_var: DB_PASSWORD
|
||||
label: "Adatbázis jelszó"
|
||||
type: secret
|
||||
generate: "password:24"
|
||||
locked_after_deploy: true
|
||||
|
||||
# --- App info (info page content) ---
|
||||
app_info:
|
||||
tagline: "Időpontfoglaló - Calendly alternatíva saját szerveren"
|
||||
docs_url: "https://cal.com/docs/"
|
||||
|
||||
use_cases:
|
||||
- 'Időpontfoglalási oldal létrehozása ügyfeleknek'
|
||||
- 'Naptár szinkronizáció (Google Calendar, Outlook)'
|
||||
- 'Személyre szabható foglalási típusok és időtartamok'
|
||||
- 'Automatikus emlékeztető emailek'
|
||||
- 'Csapat naptár kezelés'
|
||||
|
||||
first_steps:
|
||||
- 'Nyisd meg a cal.DOMAIN címet a böngészőben'
|
||||
- 'Hozd létre az admin fiókot'
|
||||
- 'Állíts be egy foglalási típust (pl. 30 perces megbeszélés)'
|
||||
- 'Szinkronizáld a naptáradat'
|
||||
- 'Oszd meg a foglalási linket'
|
||||
|
||||
prerequisites:
|
||||
- 'x86 processzor szükséges'
|
||||
- 'Legalább 1 GB szabad RAM (Cal.com + PostgreSQL)'
|
||||
@@ -0,0 +1,77 @@
|
||||
# Cal.com - Nyílt forráskódú időpontfoglaló (Calendly alternatíva)
|
||||
# Domain: cal.${DOMAIN}
|
||||
# Database: postgres
|
||||
# RAM: ~200M (mem_limit: 768M) | Pi-compatible: No
|
||||
#
|
||||
# Environment variables:
|
||||
# DOMAIN - Your domain (e.g., demo-felhom.eu)
|
||||
# NEXTAUTH_SECRET - NextAuth titkosítási kulcs (auto-generated)
|
||||
# CALENDSO_ENCRYPTION_KEY- Titkosítási kulcs (auto-generated)
|
||||
# DB_PASSWORD - Adatbázis jelszó (auto-generated)
|
||||
|
||||
services:
|
||||
calcom:
|
||||
image: calcom/cal.com:v4.8.7
|
||||
container_name: calcom
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
calcom-postgres:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
- NEXTAUTH_SECRET=${NEXTAUTH_SECRET}
|
||||
- CALENDSO_ENCRYPTION_KEY=${CALENDSO_ENCRYPTION_KEY}
|
||||
- DATABASE_URL=postgresql://calcom:${DB_PASSWORD}@calcom-postgres:5432/calcom
|
||||
- NEXT_PUBLIC_WEBAPP_URL=https://cal.${DOMAIN}
|
||||
- NEXTAUTH_URL=https://cal.${DOMAIN}
|
||||
networks:
|
||||
- traefik-public
|
||||
- calcom-internal
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 768M
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:3000/api/health"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.calcom.rule=Host(`cal.${DOMAIN}`)"
|
||||
- "traefik.http.routers.calcom.entrypoints=websecure"
|
||||
- "traefik.http.routers.calcom.tls=true"
|
||||
- "traefik.http.routers.calcom.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.services.calcom.loadbalancer.server.port=3000"
|
||||
|
||||
calcom-postgres:
|
||||
image: postgres:16-alpine
|
||||
container_name: calcom-postgres
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- POSTGRES_USER=calcom
|
||||
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
||||
- POSTGRES_DB=calcom
|
||||
- TZ=Europe/Budapest
|
||||
volumes:
|
||||
- calcom_postgres_data:/var/lib/postgresql/data
|
||||
networks:
|
||||
- calcom-internal
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 256M
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U calcom -d calcom"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 20s
|
||||
|
||||
volumes:
|
||||
calcom_postgres_data:
|
||||
|
||||
networks:
|
||||
traefik-public:
|
||||
external: true
|
||||
calcom-internal:
|
||||
Reference in New Issue
Block a user