ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.
Python astracloudflarecontrol-panelcyberpaneldnsfablehosting-control-panelhosting-panelkimi-k3server-managementserverkitubuntu-web-panelwebserver
Add application templates for multiple popular services
Juan Denis87c3a7ee7955
diff --git a/backend/templates/authelia.yaml b/backend/templates/authelia.yamlnew file mode 100644index 00000000..1f996e87--- /dev/null+++ b/backend/templates/authelia.yaml@@ -0,0 +1,88 @@+id: authelia+name: Authelia+version: "4.37"+description: Authentication and authorization server providing 2FA and SSO+icon: https://www.authelia.com/images/branding/logo-cropped.png+website: https://www.authelia.com+documentation: https://www.authelia.com/docs/+categories:+ - security+ - authentication+ - sso++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "9091"+ - name: JWT_SECRET+ description: JWT secret+ type: password+ generate: password+ - name: SESSION_SECRET+ description: Session secret+ type: password+ generate: password+ - name: STORAGE_ENCRYPTION_KEY+ description: Storage encryption key+ type: password+ generate: password+ - name: DOMAIN+ description: Domain name (e.g., example.com)+ required: true++ports:+ - port: 9091+ protocol: tcp+ description: Authentication portal++volumes:+ - name: config+ path: /config+ description: Authelia configuration++compose:+ services:+ authelia:+ image: authelia/authelia:${VERSION:-4.37}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - AUTHELIA_JWT_SECRET=${JWT_SECRET}+ - AUTHELIA_SESSION_SECRET=${SESSION_SECRET}+ - AUTHELIA_STORAGE_ENCRYPTION_KEY=${STORAGE_ENCRYPTION_KEY}+ volumes:+ - authelia_config:/config+ ports:+ - "${HTTP_PORT}:9091"++ volumes:+ authelia_config:++post_install: |+ # Create basic configuration+ cat > /var/serverkit/apps/${APP_NAME}/config/configuration.yml << 'EOF'+ theme: dark+ default_redirection_url: https://${DOMAIN}+ server:+ host: 0.0.0.0+ port: 9091+ log:+ level: info+ authentication_backend:+ file:+ path: /config/users_database.yml+ access_control:+ default_policy: deny+ session:+ name: authelia_session+ domain: ${DOMAIN}+ expiration: 1h+ inactivity: 5m+ storage:+ local:+ path: /config/db.sqlite3+ notifier:+ filesystem:+ filename: /config/notification.txt+ EOFdiff --git a/backend/templates/bookstack.yaml b/backend/templates/bookstack.yamlnew file mode 100644index 00000000..1d37c02f--- /dev/null+++ b/backend/templates/bookstack.yaml@@ -0,0 +1,78 @@+id: bookstack+name: BookStack+version: "23.12"+description: Simple, self-hosted platform for organizing and storing information+icon: https://www.bookstackapp.com/images/bookstack-logo.svg+website: https://www.bookstackapp.com+documentation: https://www.bookstackapp.com/docs/+categories:+ - productivity+ - wiki+ - documentation++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "8080"+ - name: APP_URL+ description: Application URL+ default: http://localhost:8080+ required: true+ - name: DB_PASSWORD+ description: MySQL password+ type: password+ generate: password++ports:+ - port: 8080+ protocol: tcp+ description: Web interface++volumes:+ - name: config+ path: /config+ description: BookStack configuration++compose:+ services:+ bookstack:+ image: linuxserver/bookstack:${VERSION:-23.12.3}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - PUID=1000+ - PGID=1000+ - TZ=UTC+ - APP_URL=${APP_URL}+ - DB_HOST=db+ - DB_PORT=3306+ - DB_USER=bookstack+ - DB_PASS=${DB_PASSWORD}+ - DB_DATABASE=bookstackapp+ volumes:+ - bookstack_config:/config+ ports:+ - "${HTTP_PORT}:80"+ depends_on:+ - db++ db:+ image: mariadb:10.11+ container_name: ${APP_NAME}-db+ restart: unless-stopped+ environment:+ - MYSQL_ROOT_PASSWORD=${DB_PASSWORD}+ - MYSQL_DATABASE=bookstackapp+ - MYSQL_USER=bookstack+ - MYSQL_PASSWORD=${DB_PASSWORD}+ volumes:+ - bookstack_db:/var/lib/mysql++ volumes:+ bookstack_config:+ bookstack_db:++post_install: |+ echo "Default credentials: [email protected] / password"+ echo "Please change the password after first login!"diff --git a/backend/templates/caddy.yaml b/backend/templates/caddy.yamlnew file mode 100644index 00000000..34f89693--- /dev/null+++ b/backend/templates/caddy.yaml@@ -0,0 +1,67 @@+id: caddy+name: Caddy+version: "2.7"+description: Fast, multi-platform web server with automatic HTTPS+icon: https://caddyserver.com/resources/images/caddy-circle-lock.svg+website: https://caddyserver.com+documentation: https://caddyserver.com/docs/+categories:+ - networking+ - proxy+ - ssl++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "80"+ - name: HTTPS_PORT+ description: HTTPS port+ type: port+ default: "443"++ports:+ - port: 80+ protocol: tcp+ description: HTTP+ - port: 443+ protocol: tcp+ description: HTTPS++volumes:+ - name: data+ path: /data+ description: Caddy data+ - name: config+ path: /config+ description: Caddy configuration+ - name: site+ path: /srv+ description: Website files++compose:+ services:+ caddy:+ image: caddy:${VERSION:-2.7-alpine}+ container_name: ${APP_NAME}+ restart: unless-stopped+ volumes:+ - caddy_data:/data+ - caddy_config:/config+ - caddy_site:/srv+ ports:+ - "${HTTP_PORT}:80"+ - "${HTTPS_PORT}:443"++ volumes:+ caddy_data:+ caddy_config:+ caddy_site:++post_install: |+ # Create default Caddyfile+ cat > /var/serverkit/apps/${APP_NAME}/config/Caddyfile << 'EOF'+ :80 {+ respond "Hello from Caddy!"+ }+ EOFdiff --git a/backend/templates/code-server.yaml b/backend/templates/code-server.yamlnew file mode 100644index 00000000..f0b9444f--- /dev/null+++ b/backend/templates/code-server.yaml@@ -0,0 +1,55 @@+id: code-server+name: Code Server+version: "4.20"+description: VS Code in the browser with full IDE features and extensions support+icon: https://code.visualstudio.com/favicon.ico+website: https://coder.com/code-server+documentation: https://coder.com/docs/code-server/latest+categories:+ - development+ - ide+ - productivity++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "8080"+ - name: PASSWORD+ description: Access password+ type: password+ generate: password+ - name: SUDO_PASSWORD+ description: Sudo password+ type: password+ generate: password++ports:+ - port: 8080+ protocol: tcp+ description: Web interface++volumes:+ - name: config+ path: /config+ description: Code Server configuration++compose:+ services:+ code-server:+ image: linuxserver/code-server:${VERSION:-4.20.0}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - PUID=1000+ - PGID=1000+ - TZ=UTC+ - PASSWORD=${PASSWORD}+ - SUDO_PASSWORD=${SUDO_PASSWORD}+ volumes:+ - code_server_config:/config+ ports:+ - "${HTTP_PORT}:8443"++ volumes:+ code_server_config:diff --git a/backend/templates/crowdsec.yaml b/backend/templates/crowdsec.yamlnew file mode 100644index 00000000..29fa1e6d--- /dev/null+++ b/backend/templates/crowdsec.yaml@@ -0,0 +1,53 @@+id: crowdsec+name: CrowdSec+version: "1.6"+description: Collaborative security engine for detecting and blocking threats+icon: https://www.crowdsec.net/wp-content/uploads/2022/01/logo-crowdsec.svg+website: https://www.crowdsec.net+documentation: https://docs.crowdsec.net+categories:+ - security+ - firewall+ - threat-detection++variables:+ - name: HTTP_PORT+ description: HTTP port for API+ type: port+ default: "8080"+ - name: COLLECTIONS+ description: Collections to install (comma-separated)+ default: crowdsecurity/linux,crowdsecurity/sshd++ports:+ - port: 8080+ protocol: tcp+ description: API++volumes:+ - name: config+ path: /etc/crowdsec+ description: CrowdSec configuration+ - name: data+ path: /var/lib/crowdsec/data+ description: CrowdSec data++compose:+ services:+ crowdsec:+ image: crowdsecurity/crowdsec:v${VERSION:-1.6.0}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - COLLECTIONS=${COLLECTIONS}+ - GID=1000+ volumes:+ - crowdsec_config:/etc/crowdsec+ - crowdsec_data:/var/lib/crowdsec/data+ - /var/log:/var/log:ro+ ports:+ - "${HTTP_PORT}:8080"++ volumes:+ crowdsec_config:+ crowdsec_data:diff --git a/backend/templates/directus.yaml b/backend/templates/directus.yamlnew file mode 100644index 00000000..d20db0f1--- /dev/null+++ b/backend/templates/directus.yaml@@ -0,0 +1,88 @@+id: directus+name: Directus+version: "10.8"+description: Open-source data platform with instant REST and GraphQL API for any SQL database+icon: https://directus.io/favicon.ico+website: https://directus.io+documentation: https://docs.directus.io+categories:+ - cms+ - headless+ - api+ - database++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "8055"+ - name: ADMIN_EMAIL+ description: Admin email+ default: [email protected]+ required: true+ - name: ADMIN_PASSWORD+ description: Admin password+ type: password+ generate: password+ - name: SECRET+ description: Application secret key+ type: password+ generate: password+ - name: DB_PASSWORD+ description: PostgreSQL password+ type: password+ generate: password++ports:+ - port: 8055+ protocol: tcp+ description: Web interface and API++volumes:+ - name: uploads+ path: /directus/uploads+ description: Uploaded files+ - name: extensions+ path: /directus/extensions+ description: Directus extensions++compose:+ services:+ directus:+ image: directus/directus:${VERSION:-10.8}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - KEY=${SECRET}+ - SECRET=${SECRET}+ - DB_CLIENT=pg+ - DB_HOST=db+ - DB_PORT=5432+ - DB_DATABASE=directus+ - DB_USER=directus+ - DB_PASSWORD=${DB_PASSWORD}+ - ADMIN_EMAIL=${ADMIN_EMAIL}+ - ADMIN_PASSWORD=${ADMIN_PASSWORD}+ volumes:+ - directus_uploads:/directus/uploads+ - directus_extensions:/directus/extensions+ ports:+ - "${HTTP_PORT}:8055"+ depends_on:+ - db++ db:+ image: postgres:15-alpine+ container_name: ${APP_NAME}-db+ restart: unless-stopped+ environment:+ - POSTGRES_USER=directus+ - POSTGRES_PASSWORD=${DB_PASSWORD}+ - POSTGRES_DB=directus+ volumes:+ - directus_db:/var/lib/postgresql/data++ volumes:+ directus_uploads:+ directus_extensions:+ directus_db:diff --git a/backend/templates/drone.yaml b/backend/templates/drone.yamlnew file mode 100644index 00000000..3fbfd910--- /dev/null+++ b/backend/templates/drone.yaml@@ -0,0 +1,80 @@+id: drone+name: Drone CI+version: "2.22"+description: Container-native continuous integration platform with simple pipeline configuration+icon: https://raw.githubusercontent.com/drone/brand/master/logos/vector/drone-logo-vector-dark.svg+website: https://www.drone.io+documentation: https://docs.drone.io+categories:+ - devops+ - ci-cd+ - docker++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "8080"+ - name: GITEA_SERVER+ description: Gitea server URL (e.g., https://gitea.example.com)+ required: true+ - name: GITEA_CLIENT_ID+ description: Gitea OAuth client ID+ required: true+ - name: GITEA_CLIENT_SECRET+ description: Gitea OAuth client secret+ type: password+ required: true+ - name: RPC_SECRET+ description: RPC secret for runner communication+ type: password+ generate: password+ - name: SERVER_HOST+ description: Drone server host (e.g., drone.example.com)+ required: true++ports:+ - port: 8080+ protocol: tcp+ description: Web interface++volumes:+ - name: data+ path: /data+ description: Drone data++compose:+ services:+ drone:+ image: drone/drone:${VERSION:-2.22}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - DRONE_GITEA_SERVER=${GITEA_SERVER}+ - DRONE_GITEA_CLIENT_ID=${GITEA_CLIENT_ID}+ - DRONE_GITEA_CLIENT_SECRET=${GITEA_CLIENT_SECRET}+ - DRONE_RPC_SECRET=${RPC_SECRET}+ - DRONE_SERVER_HOST=${SERVER_HOST}+ - DRONE_SERVER_PROTO=https+ volumes:+ - drone_data:/data+ ports:+ - "${HTTP_PORT}:80"++ drone-runner:+ image: drone/drone-runner-docker:1+ container_name: ${APP_NAME}-runner+ restart: unless-stopped+ environment:+ - DRONE_RPC_PROTO=http+ - DRONE_RPC_HOST=drone+ - DRONE_RPC_SECRET=${RPC_SECRET}+ - DRONE_RUNNER_CAPACITY=2+ - DRONE_RUNNER_NAME=${APP_NAME}-runner+ volumes:+ - /var/run/docker.sock:/var/run/docker.sock+ depends_on:+ - drone++ volumes:+ drone_data:diff --git a/backend/templates/duplicati.yaml b/backend/templates/duplicati.yamlnew file mode 100644index 00000000..e10a2a81--- /dev/null+++ b/backend/templates/duplicati.yaml@@ -0,0 +1,55 @@+id: duplicati+name: Duplicati+version: "2.0"+description: Free backup software to store encrypted backups online+icon: https://www.duplicati.com/images/duplicati-logo.svg+website: https://www.duplicati.com+documentation: https://duplicati.readthedocs.io+categories:+ - storage+ - backup+ - encryption++variables:+ - name: HTTP_PORT+ description: Web UI port+ type: port+ default: "8200"+ - name: BACKUP_SOURCE+ description: Path to backup source on host+ default: /source+ required: true++ports:+ - port: 8200+ protocol: tcp+ description: Web interface++volumes:+ - name: config+ path: /config+ description: Duplicati configuration+ - name: backups+ path: /backups+ description: Local backup destination++compose:+ services:+ duplicati:+ image: linuxserver/duplicati:${VERSION:-latest}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - PUID=1000+ - PGID=1000+ - TZ=UTC+ volumes:+ - duplicati_config:/config+ - duplicati_backups:/backups+ - ${BACKUP_SOURCE}:/source:ro+ ports:+ - "${HTTP_PORT}:8200"++ volumes:+ duplicati_config:+ duplicati_backups:diff --git a/backend/templates/excalidraw.yaml b/backend/templates/excalidraw.yamlnew file mode 100644index 00000000..c8974ab5--- /dev/null+++ b/backend/templates/excalidraw.yaml@@ -0,0 +1,31 @@+id: excalidraw+name: Excalidraw+version: "0.17"+description: Virtual whiteboard for sketching hand-drawn like diagrams+icon: https://excalidraw.com/apple-touch-icon.png+website: https://excalidraw.com+documentation: https://github.com/excalidraw/excalidraw+categories:+ - productivity+ - diagrams+ - whiteboard++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "3000"++ports:+ - port: 3000+ protocol: tcp+ description: Web interface++compose:+ services:+ excalidraw:+ image: excalidraw/excalidraw:latest+ container_name: ${APP_NAME}+ restart: unless-stopped+ ports:+ - "${HTTP_PORT}:80"diff --git a/backend/templates/filebrowser.yaml b/backend/templates/filebrowser.yamlnew file mode 100644index 00000000..762bbd12--- /dev/null+++ b/backend/templates/filebrowser.yaml@@ -0,0 +1,51 @@+id: filebrowser+name: File Browser+version: "2.27"+description: Web-based file manager with upload, download, and file sharing features+icon: https://raw.githubusercontent.com/filebrowser/logo/master/icon.svg+website: https://filebrowser.org+documentation: https://filebrowser.org/+categories:+ - storage+ - files+ - management++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "8080"+ - name: ROOT_PATH+ description: Root path to browse on host+ default: /srv+ required: true++ports:+ - port: 8080+ protocol: tcp+ description: Web interface++volumes:+ - name: database+ path: /database+ description: File Browser database++compose:+ services:+ filebrowser:+ image: filebrowser/filebrowser:v${VERSION:-2.27.0}+ container_name: ${APP_NAME}+ restart: unless-stopped+ user: "1000:1000"+ volumes:+ - ${ROOT_PATH}:/srv+ - filebrowser_db:/database+ ports:+ - "${HTTP_PORT}:80"++ volumes:+ filebrowser_db:++post_install: |+ echo "Default credentials: admin / admin"+ echo "Please change the password after first login!"diff --git a/backend/templates/gitlab-runner.yaml b/backend/templates/gitlab-runner.yamlnew file mode 100644index 00000000..abd5adc2--- /dev/null+++ b/backend/templates/gitlab-runner.yaml@@ -0,0 +1,54 @@+id: gitlab-runner+name: GitLab Runner+version: "16.6"+description: Application that works with GitLab CI/CD to run jobs in a pipeline+icon: https://about.gitlab.com/images/press/logo/png/gitlab-icon-rgb.png+website: https://docs.gitlab.com/runner/+documentation: https://docs.gitlab.com/runner/+categories:+ - devops+ - ci-cd+ - gitlab++variables:+ - name: GITLAB_URL+ description: GitLab instance URL+ default: https://gitlab.com+ required: true+ - name: REGISTRATION_TOKEN+ description: Runner registration token+ type: password+ required: true+ - name: RUNNER_NAME+ description: Runner name/description+ default: docker-runner++volumes:+ - name: config+ path: /etc/gitlab-runner+ description: Runner configuration+ - name: docker+ path: /var/run/docker.sock+ description: Docker socket++compose:+ services:+ gitlab-runner:+ image: gitlab/gitlab-runner:v${VERSION:-16.6.0}+ container_name: ${APP_NAME}+ restart: unless-stopped+ volumes:+ - runner_config:/etc/gitlab-runner+ - /var/run/docker.sock:/var/run/docker.sock++ volumes:+ runner_config:++post_install: |+ docker exec ${APP_NAME} gitlab-runner register \+ --non-interactive \+ --url "${GITLAB_URL}" \+ --registration-token "${REGISTRATION_TOKEN}" \+ --executor "docker" \+ --docker-image alpine:latest \+ --description "${RUNNER_NAME}"diff --git a/backend/templates/grafana.yaml b/backend/templates/grafana.yamlnew file mode 100644index 00000000..a28f21af--- /dev/null+++ b/backend/templates/grafana.yaml@@ -0,0 +1,54 @@+id: grafana+name: Grafana+version: "10.2"+description: Open-source analytics and interactive visualization platform for metrics, logs, and traces+icon: https://raw.githubusercontent.com/grafana/grafana/main/public/img/grafana_icon.svg+website: https://grafana.com+documentation: https://grafana.com/docs/grafana/latest/+categories:+ - monitoring+ - analytics+ - visualization++variables:+ - name: ADMIN_USER+ description: Admin username+ default: admin+ required: true+ - name: ADMIN_PASSWORD+ description: Admin password+ type: password+ generate: password+ required: true+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "3000"++ports:+ - port: 3000+ protocol: tcp+ description: Web interface++volumes:+ - name: data+ path: /var/lib/grafana+ description: Grafana data and dashboards++compose:+ services:+ grafana:+ image: grafana/grafana:${VERSION:-10.2.0}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - GF_SECURITY_ADMIN_USER=${ADMIN_USER}+ - GF_SECURITY_ADMIN_PASSWORD=${ADMIN_PASSWORD}+ - GF_SERVER_HTTP_PORT=${HTTP_PORT}+ volumes:+ - grafana_data:/var/lib/grafana+ ports:+ - "${HTTP_PORT}:${HTTP_PORT}"++ volumes:+ grafana_data:diff --git a/backend/templates/grav.yaml b/backend/templates/grav.yamlnew file mode 100644index 00000000..19933b5b--- /dev/null+++ b/backend/templates/grav.yaml@@ -0,0 +1,45 @@+id: grav+name: Grav CMS+version: "1.7"+description: Modern flat-file CMS that is fast, simple, and flexible+icon: https://getgrav.org/user/themes/flavor-flavor/images/favicon.png+website: https://getgrav.org+documentation: https://learn.getgrav.org+categories:+ - cms+ - flat-file+ - blog++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "8080"++ports:+ - port: 8080+ protocol: tcp+ description: Web interface++volumes:+ - name: user+ path: /var/www/html/user+ description: Grav user content++compose:+ services:+ grav:+ image: linuxserver/grav:${VERSION:-latest}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - PUID=1000+ - PGID=1000+ - TZ=UTC+ volumes:+ - grav_data:/var/www/html+ ports:+ - "${HTTP_PORT}:80"++ volumes:+ grav_data:diff --git a/backend/templates/homeassistant.yaml b/backend/templates/homeassistant.yamlnew file mode 100644index 00000000..d72c947e--- /dev/null+++ b/backend/templates/homeassistant.yaml@@ -0,0 +1,47 @@+id: homeassistant+name: Home Assistant+version: "2024.1"+description: Open-source home automation platform with focus on local control and privacy+icon: https://www.home-assistant.io/images/favicon-192x192-full.png+website: https://www.home-assistant.io+documentation: https://www.home-assistant.io/docs/+categories:+ - home-automation+ - iot+ - smart-home++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "8123"+ - name: TZ+ description: Timezone+ default: UTC++ports:+ - port: 8123+ protocol: tcp+ description: Web interface++volumes:+ - name: config+ path: /config+ description: Home Assistant configuration++compose:+ services:+ homeassistant:+ image: ghcr.io/home-assistant/home-assistant:${VERSION:-2024.1}+ container_name: ${APP_NAME}+ restart: unless-stopped+ privileged: true+ network_mode: host+ environment:+ - TZ=${TZ}+ volumes:+ - homeassistant_config:/config+ - /run/dbus:/run/dbus:ro++ volumes:+ homeassistant_config:diff --git a/backend/templates/immich.yaml b/backend/templates/immich.yamlnew file mode 100644index 00000000..81423f20--- /dev/null+++ b/backend/templates/immich.yaml@@ -0,0 +1,100 @@+id: immich+name: Immich+version: "1.91"+description: High-performance self-hosted photo and video backup solution with mobile apps+icon: https://immich.app/img/immich-logo.svg+website: https://immich.app+documentation: https://immich.app/docs/overview/introduction+categories:+ - media+ - photos+ - backup++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "2283"+ - name: UPLOAD_LOCATION+ description: Path for uploaded photos on host+ default: /photos+ required: true+ - name: DB_PASSWORD+ description: PostgreSQL password+ type: password+ generate: password++ports:+ - port: 2283+ protocol: tcp+ description: Web interface++volumes:+ - name: upload+ path: /usr/src/app/upload+ description: Photo uploads++compose:+ services:+ immich-server:+ image: ghcr.io/immich-app/immich-server:v${VERSION:-1.91.0}+ container_name: ${APP_NAME}+ restart: unless-stopped+ command: ["start.sh", "immich"]+ environment:+ - DB_HOSTNAME=database+ - DB_USERNAME=postgres+ - DB_PASSWORD=${DB_PASSWORD}+ - DB_DATABASE_NAME=immich+ - REDIS_HOSTNAME=redis+ volumes:+ - ${UPLOAD_LOCATION}:/usr/src/app/upload+ ports:+ - "${HTTP_PORT}:3001"+ depends_on:+ - redis+ - database++ immich-microservices:+ image: ghcr.io/immich-app/immich-server:v${VERSION:-1.91.0}+ container_name: ${APP_NAME}-microservices+ restart: unless-stopped+ command: ["start.sh", "microservices"]+ environment:+ - DB_HOSTNAME=database+ - DB_USERNAME=postgres+ - DB_PASSWORD=${DB_PASSWORD}+ - DB_DATABASE_NAME=immich+ - REDIS_HOSTNAME=redis+ volumes:+ - ${UPLOAD_LOCATION}:/usr/src/app/upload+ depends_on:+ - redis+ - database++ immich-machine-learning:+ image: ghcr.io/immich-app/immich-machine-learning:v${VERSION:-1.91.0}+ container_name: ${APP_NAME}-ml+ restart: unless-stopped+ volumes:+ - immich_ml_cache:/cache++ redis:+ image: redis:7-alpine+ container_name: ${APP_NAME}-redis+ restart: unless-stopped++ database:+ image: tensorchord/pgvecto-rs:pg14-v0.1.11+ container_name: ${APP_NAME}-db+ restart: unless-stopped+ environment:+ - POSTGRES_PASSWORD=${DB_PASSWORD}+ - POSTGRES_USER=postgres+ - POSTGRES_DB=immich+ volumes:+ - immich_db:/var/lib/postgresql/data++ volumes:+ immich_ml_cache:+ immich_db:diff --git a/backend/templates/index.json b/backend/templates/index.jsonindex 27e0d376..eff204f7 100644--- a/backend/templates/index.json+++ b/backend/templates/index.json@@ -1,54 +1,435 @@{- "version": "1.0",- "updated_at": "2024-01-18",+ "version": "1.0.0",+ "updated_at": "2025-01-18","templates": [{"id": "uptime-kuma","name": "Uptime Kuma","version": "1.23",- "description": "A fancy self-hosted monitoring tool for websites and services",- "icon": "/icons/uptime-kuma.png",+ "description": "Self-hosted monitoring tool for tracking uptime of websites and services","categories": ["monitoring", "devops"]},{"id": "portainer","name": "Portainer","version": "2.19",- "description": "Lightweight Docker management UI",- "icon": "/icons/portainer.png",- "categories": ["devops", "docker", "management"]+ "description": "Container management platform for Docker, Swarm, and Kubernetes",+ "categories": ["docker", "management", "devops"]},{"id": "ghost","name": "Ghost","version": "5.75","description": "Professional publishing platform for blogs and newsletters",- "icon": "/icons/ghost.png",- "categories": ["cms", "blog", "publishing"]+ "categories": ["blog", "cms", "publishing"]},{"id": "nextcloud","name": "Nextcloud","version": "28.0",- "description": "Self-hosted productivity platform with file sync and collaboration",- "icon": "/icons/nextcloud.png",+ "description": "Self-hosted productivity platform with file sync, collaboration, and office suite","categories": ["storage", "collaboration", "productivity"]},{"id": "gitea","name": "Gitea","version": "1.21",- "description": "Lightweight self-hosted Git service",- "icon": "/icons/gitea.png",- "categories": ["devops", "git", "development"]+ "description": "Lightweight self-hosted Git service with issue tracking and CI/CD",+ "categories": ["git", "development", "devops"]},{"id": "nginx-proxy-manager","name": "Nginx Proxy Manager","version": "2.10",- "description": "Easy-to-use reverse proxy with SSL management",- "icon": "/icons/nginx-proxy-manager.png",+ "description": "Easy-to-use reverse proxy with SSL certificate management",+ "categories": ["proxy", "ssl", "networking"]+ },+ {+ "id": "grafana",+ "name": "Grafana",+ "version": "10.2",+ "description": "Open-source analytics and interactive visualization platform",+ "categories": ["monitoring", "analytics", "visualization"]+ },+ {+ "id": "prometheus",+ "name": "Prometheus",+ "version": "2.48",+ "description": "Open-source monitoring and alerting toolkit for reliability",+ "categories": ["monitoring", "metrics", "alerting"]+ },+ {+ "id": "netdata",+ "name": "Netdata",+ "version": "1.44",+ "description": "Real-time performance and health monitoring for systems",+ "categories": ["monitoring", "metrics", "realtime"]+ },+ {+ "id": "loki",+ "name": "Grafana Loki",+ "version": "2.9",+ "description": "Horizontally scalable log aggregation system",+ "categories": ["monitoring", "logging", "observability"]+ },+ {+ "id": "jaeger",+ "name": "Jaeger",+ "version": "1.52",+ "description": "Open-source distributed tracing system for microservices",+ "categories": ["monitoring", "tracing", "observability"]+ },+ {+ "id": "jenkins",+ "name": "Jenkins",+ "version": "2.426",+ "description": "Leading open-source automation server for CI/CD",+ "categories": ["devops", "ci-cd", "automation"]+ },+ {+ "id": "drone",+ "name": "Drone CI",+ "version": "2.22",+ "description": "Container-native continuous integration platform",+ "categories": ["devops", "ci-cd", "docker"]+ },+ {+ "id": "gitlab-runner",+ "name": "GitLab Runner",+ "version": "16.6",+ "description": "Application that works with GitLab CI/CD to run jobs",+ "categories": ["devops", "ci-cd", "gitlab"]+ },+ {+ "id": "sonarqube",+ "name": "SonarQube",+ "version": "10.3",+ "description": "Continuous inspection of code quality and security",+ "categories": ["devops", "code-quality", "security"]+ },+ {+ "id": "registry",+ "name": "Docker Registry",+ "version": "2.8",+ "description": "Private Docker container image registry",+ "categories": ["devops", "docker", "registry"]+ },+ {+ "id": "vault",+ "name": "HashiCorp Vault",+ "version": "1.15",+ "description": "Secrets management and data protection platform",+ "categories": ["devops", "security", "secrets"]+ },+ {+ "id": "wordpress",+ "name": "WordPress",+ "version": "6.4",+ "description": "World's most popular content management system",+ "categories": ["cms", "blog", "website"]+ },+ {+ "id": "strapi",+ "name": "Strapi",+ "version": "4.15",+ "description": "Open-source headless CMS with customizable API",+ "categories": ["cms", "headless", "api"]+ },+ {+ "id": "directus",+ "name": "Directus",+ "version": "10.8",+ "description": "Open-source data platform with instant REST and GraphQL API",+ "categories": ["cms", "headless", "api", "database"]+ },+ {+ "id": "payload",+ "name": "Payload CMS",+ "version": "2.5",+ "description": "Modern TypeScript headless CMS with powerful admin panel",+ "categories": ["cms", "headless", "typescript"]+ },+ {+ "id": "grav",+ "name": "Grav CMS",+ "version": "1.7",+ "description": "Modern flat-file CMS that is fast, simple, and flexible",+ "categories": ["cms", "flat-file", "blog"]+ },+ {+ "id": "jellyfin",+ "name": "Jellyfin",+ "version": "10.8",+ "description": "Free and open-source media server for streaming",+ "categories": ["media", "streaming", "entertainment"]+ },+ {+ "id": "plex",+ "name": "Plex Media Server",+ "version": "1.32",+ "description": "Organize and stream your personal media collection",+ "categories": ["media", "streaming", "entertainment"]+ },+ {+ "id": "photoprism",+ "name": "PhotoPrism",+ "version": "231128",+ "description": "AI-powered photo management with face recognition",+ "categories": ["media", "photos", "ai"]+ },+ {+ "id": "immich",+ "name": "Immich",+ "version": "1.91",+ "description": "High-performance self-hosted photo and video backup",+ "categories": ["media", "photos", "backup"]+ },+ {+ "id": "navidrome",+ "name": "Navidrome",+ "version": "0.50",+ "description": "Modern music server and streamer compatible with Subsonic",+ "categories": ["media", "music", "streaming"]+ },+ {+ "id": "rocketchat",+ "name": "Rocket.Chat",+ "version": "6.5",+ "description": "Open-source team communication platform",+ "categories": ["collaboration", "chat", "communication"]+ },+ {+ "id": "mattermost",+ "name": "Mattermost",+ "version": "9.2",+ "description": "Open-source Slack alternative for secure team collaboration",+ "categories": ["collaboration", "chat", "communication"]+ },+ {+ "id": "matrix-synapse",+ "name": "Matrix Synapse",+ "version": "1.98",+ "description": "Decentralized communication server for federated messaging",+ "categories": ["collaboration", "chat", "federation"]+ },+ {+ "id": "jitsi",+ "name": "Jitsi Meet",+ "version": "9111",+ "description": "Secure, fully featured video conferencing",+ "categories": ["collaboration", "video", "conferencing"]+ },+ {+ "id": "minio",+ "name": "MinIO",+ "version": "2024-01",+ "description": "High-performance, S3-compatible object storage",+ "categories": ["storage", "s3", "cloud"]+ },+ {+ "id": "seafile",+ "name": "Seafile",+ "version": "11.0",+ "description": "Open-source file sync and share platform",+ "categories": ["storage", "sync", "collaboration"]+ },+ {+ "id": "filebrowser",+ "name": "File Browser",+ "version": "2.27",+ "description": "Web-based file manager with upload and sharing",+ "categories": ["storage", "files", "management"]+ },+ {+ "id": "syncthing",+ "name": "Syncthing",+ "version": "1.27",+ "description": "Continuous file synchronization for peer-to-peer sync",+ "categories": ["storage", "sync", "backup"]+ },+ {+ "id": "duplicati",+ "name": "Duplicati",+ "version": "2.0",+ "description": "Free backup software to store encrypted backups online",+ "categories": ["storage", "backup", "encryption"]+ },+ {+ "id": "bookstack",+ "name": "BookStack",+ "version": "23.12",+ "description": "Simple, self-hosted platform for organizing information",+ "categories": ["productivity", "wiki", "documentation"]+ },+ {+ "id": "wikijs",+ "name": "Wiki.js",+ "version": "2.5",+ "description": "Modern and powerful wiki app built on Node.js",+ "categories": ["productivity", "wiki", "documentation"]+ },+ {+ "id": "outline",+ "name": "Outline",+ "version": "0.74",+ "description": "Beautiful, real-time collaborative team wiki",+ "categories": ["productivity", "wiki", "collaboration"]+ },+ {+ "id": "excalidraw",+ "name": "Excalidraw",+ "version": "0.17",+ "description": "Virtual whiteboard for sketching hand-drawn diagrams",+ "categories": ["productivity", "diagrams", "whiteboard"]+ },+ {+ "id": "n8n",+ "name": "n8n",+ "version": "1.22",+ "description": "Extendable workflow automation tool",+ "categories": ["productivity", "automation", "integration"]+ },+ {+ "id": "vaultwarden",+ "name": "Vaultwarden",+ "version": "1.30",+ "description": "Lightweight Bitwarden-compatible password manager server",+ "categories": ["security", "passwords", "privacy"]+ },+ {+ "id": "authelia",+ "name": "Authelia",+ "version": "4.37",+ "description": "Authentication and authorization server providing 2FA and SSO",+ "categories": ["security", "authentication", "sso"]+ },+ {+ "id": "keycloak",+ "name": "Keycloak",+ "version": "23.0",+ "description": "Open-source identity and access management",+ "categories": ["security", "authentication", "sso"]+ },+ {+ "id": "crowdsec",+ "name": "CrowdSec",+ "version": "1.6",+ "description": "Collaborative security engine for detecting threats",+ "categories": ["security", "firewall", "threat-detection"]+ },+ {+ "id": "phpmyadmin",+ "name": "phpMyAdmin",+ "version": "5.2",+ "description": "Web-based MySQL and MariaDB administration tool",+ "categories": ["database", "mysql", "management"]+ },+ {+ "id": "pgadmin",+ "name": "pgAdmin 4",+ "version": "8.2",+ "description": "Web-based PostgreSQL administration platform",+ "categories": ["database", "postgresql", "management"]+ },+ {+ "id": "redis-commander",+ "name": "Redis Commander",+ "version": "0.8",+ "description": "Web-based Redis management tool",+ "categories": ["database", "redis", "management"]+ },+ {+ "id": "mongo-express",+ "name": "Mongo Express",+ "version": "1.0",+ "description": "Web-based MongoDB admin interface",+ "categories": ["database", "mongodb", "management"]+ },+ {+ "id": "homeassistant",+ "name": "Home Assistant",+ "version": "2024.1",+ "description": "Open-source home automation platform",+ "categories": ["home-automation", "iot", "smart-home"]+ },+ {+ "id": "nodered",+ "name": "Node-RED",+ "version": "3.1",+ "description": "Flow-based programming tool for IoT",+ "categories": ["home-automation", "automation", "iot"]+ },+ {+ "id": "mosquitto",+ "name": "Eclipse Mosquitto",+ "version": "2.0",+ "description": "Lightweight MQTT message broker",+ "categories": ["home-automation", "iot", "messaging"]+ },+ {+ "id": "zigbee2mqtt",+ "name": "Zigbee2MQTT",+ "version": "1.35",+ "description": "Bridge Zigbee devices to MQTT",+ "categories": ["home-automation", "iot", "zigbee"]+ },+ {+ "id": "code-server",+ "name": "Code Server",+ "version": "4.20",+ "description": "VS Code in the browser with full IDE features",+ "categories": ["development", "ide", "productivity"]+ },+ {+ "id": "traefik",+ "name": "Traefik",+ "version": "3.0",+ "description": "Modern HTTP reverse proxy with automatic HTTPS","categories": ["networking", "proxy", "ssl"]+ },+ {+ "id": "caddy",+ "name": "Caddy",+ "version": "2.7",+ "description": "Fast, multi-platform web server with automatic HTTPS",+ "categories": ["networking", "proxy", "ssl"]+ },+ {+ "id": "plausible",+ "name": "Plausible Analytics",+ "version": "2.0",+ "description": "Privacy-friendly alternative to Google Analytics",+ "categories": ["analytics", "privacy", "monitoring"]+ },+ {+ "id": "umami",+ "name": "Umami",+ "version": "2.9",+ "description": "Simple, fast, privacy-focused analytics",+ "categories": ["analytics", "privacy", "monitoring"]}+ ],+ "categories": [+ "monitoring",+ "devops",+ "cms",+ "blog",+ "media",+ "collaboration",+ "storage",+ "productivity",+ "security",+ "database",+ "home-automation",+ "development",+ "networking",+ "analytics",+ "docker",+ "git",+ "proxy",+ "ssl",+ "iot",+ "ci-cd",+ "automation"]}diff --git a/backend/templates/jaeger.yaml b/backend/templates/jaeger.yamlnew file mode 100644index 00000000..dfe6bc6e--- /dev/null+++ b/backend/templates/jaeger.yaml@@ -0,0 +1,58 @@+id: jaeger+name: Jaeger+version: "1.52"+description: Open-source distributed tracing system for monitoring and troubleshooting microservices+icon: https://www.jaegertracing.io/img/jaeger-icon-color.png+website: https://www.jaegertracing.io+documentation: https://www.jaegertracing.io/docs/+categories:+ - monitoring+ - tracing+ - observability++variables:+ - name: UI_PORT+ description: Web UI port+ type: port+ default: "16686"+ - name: COLLECTOR_PORT+ description: Collector port for spans+ type: port+ default: "14268"++ports:+ - port: 16686+ protocol: tcp+ description: Web UI+ - port: 14268+ protocol: tcp+ description: HTTP collector+ - port: 6831+ protocol: udp+ description: Thrift compact protocol++volumes:+ - name: data+ path: /badger+ description: Badger storage for traces++compose:+ services:+ jaeger:+ image: jaegertracing/all-in-one:${VERSION:-1.52}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - SPAN_STORAGE_TYPE=badger+ - BADGER_EPHEMERAL=false+ - BADGER_DIRECTORY_VALUE=/badger/data+ - BADGER_DIRECTORY_KEY=/badger/key+ volumes:+ - jaeger_data:/badger+ ports:+ - "${UI_PORT}:16686"+ - "${COLLECTOR_PORT}:14268"+ - "6831:6831/udp"++ volumes:+ jaeger_data:diff --git a/backend/templates/jellyfin.yaml b/backend/templates/jellyfin.yamlnew file mode 100644index 00000000..f08d59f8--- /dev/null+++ b/backend/templates/jellyfin.yaml@@ -0,0 +1,67 @@+id: jellyfin+name: Jellyfin+version: "10.8"+description: Free and open-source media server for streaming movies, TV shows, music, and more+icon: https://jellyfin.org/images/logo.svg+website: https://jellyfin.org+documentation: https://jellyfin.org/docs/+categories:+ - media+ - streaming+ - entertainment++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "8096"+ - name: HTTPS_PORT+ description: HTTPS port+ type: port+ default: "8920"+ - name: MEDIA_PATH+ description: Path to media files on host+ default: /media+ required: true++ports:+ - port: 8096+ protocol: tcp+ description: Web interface+ - port: 8920+ protocol: tcp+ description: HTTPS web interface+ - port: 7359+ protocol: udp+ description: Client discovery++volumes:+ - name: config+ path: /config+ description: Jellyfin configuration+ - name: cache+ path: /cache+ description: Jellyfin cache++compose:+ services:+ jellyfin:+ image: jellyfin/jellyfin:${VERSION:-10.8.13}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - PUID=1000+ - PGID=1000+ - TZ=UTC+ volumes:+ - jellyfin_config:/config+ - jellyfin_cache:/cache+ - ${MEDIA_PATH}:/media:ro+ ports:+ - "${HTTP_PORT}:8096"+ - "${HTTPS_PORT}:8920"+ - "7359:7359/udp"++ volumes:+ jellyfin_config:+ jellyfin_cache:diff --git a/backend/templates/jenkins.yaml b/backend/templates/jenkins.yamlnew file mode 100644index 00000000..9e87119b--- /dev/null+++ b/backend/templates/jenkins.yaml@@ -0,0 +1,60 @@+id: jenkins+name: Jenkins+version: "2.426"+description: Leading open-source automation server for building, deploying, and automating projects+icon: https://www.jenkins.io/images/logos/jenkins/jenkins.svg+website: https://www.jenkins.io+documentation: https://www.jenkins.io/doc/+categories:+ - devops+ - ci-cd+ - automation++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "8080"+ - name: AGENT_PORT+ description: Agent connection port+ type: port+ default: "50000"+ - name: JAVA_OPTS+ description: Java options+ default: "-Xmx2048m"++ports:+ - port: 8080+ protocol: tcp+ description: Web interface+ - port: 50000+ protocol: tcp+ description: Agent connections++volumes:+ - name: home+ path: /var/jenkins_home+ description: Jenkins home directory++compose:+ services:+ jenkins:+ image: jenkins/jenkins:${VERSION:-2.426-lts}+ container_name: ${APP_NAME}+ restart: unless-stopped+ user: root+ environment:+ - JAVA_OPTS=${JAVA_OPTS}+ volumes:+ - jenkins_home:/var/jenkins_home+ - /var/run/docker.sock:/var/run/docker.sock+ ports:+ - "${HTTP_PORT}:8080"+ - "${AGENT_PORT}:50000"++ volumes:+ jenkins_home:++post_install: |+ echo "Initial admin password can be found in container logs or at:"+ echo "/var/jenkins_home/secrets/initialAdminPassword"diff --git a/backend/templates/jitsi.yaml b/backend/templates/jitsi.yamlnew file mode 100644index 00000000..27134474--- /dev/null+++ b/backend/templates/jitsi.yaml@@ -0,0 +1,117 @@+id: jitsi+name: Jitsi Meet+version: "9111"+description: Secure, fully featured, and completely free video conferencing+icon: https://jitsi.org/wp-content/uploads/2020/04/oie_ij7MkXQDMfUP.png+website: https://jitsi.org+documentation: https://jitsi.github.io/handbook/+categories:+ - collaboration+ - video+ - conferencing++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "8000"+ - name: HTTPS_PORT+ description: HTTPS port+ type: port+ default: "8443"+ - name: PUBLIC_URL+ description: Public URL (e.g., https://meet.example.com)+ required: true+ - name: JICOFO_AUTH_PASSWORD+ description: Jicofo auth password+ type: password+ generate: password+ - name: JVB_AUTH_PASSWORD+ description: JVB auth password+ type: password+ generate: password+ - name: JIGASI_XMPP_PASSWORD+ description: Jigasi XMPP password+ type: password+ generate: password++ports:+ - port: 8000+ protocol: tcp+ description: HTTP+ - port: 8443+ protocol: tcp+ description: HTTPS+ - port: 10000+ protocol: udp+ description: Video bridge++volumes:+ - name: config+ path: /config+ description: Jitsi config+ - name: transcripts+ path: /usr/share/jitsi-meet/transcripts+ description: Transcripts++compose:+ services:+ web:+ image: jitsi/web:stable-${VERSION:-9111}+ container_name: ${APP_NAME}-web+ restart: unless-stopped+ environment:+ - PUBLIC_URL=${PUBLIC_URL}+ - TZ=UTC+ volumes:+ - jitsi_config:/config:Z+ - jitsi_transcripts:/usr/share/jitsi-meet/transcripts:Z+ ports:+ - "${HTTP_PORT}:80"+ - "${HTTPS_PORT}:443"++ prosody:+ image: jitsi/prosody:stable-${VERSION:-9111}+ container_name: ${APP_NAME}-prosody+ restart: unless-stopped+ environment:+ - PUBLIC_URL=${PUBLIC_URL}+ - JICOFO_AUTH_PASSWORD=${JICOFO_AUTH_PASSWORD}+ - JVB_AUTH_PASSWORD=${JVB_AUTH_PASSWORD}+ - JIGASI_XMPP_PASSWORD=${JIGASI_XMPP_PASSWORD}+ volumes:+ - jitsi_prosody:/config:Z+ - jitsi_prosody_plugins:/prosody-plugins-custom:Z++ jicofo:+ image: jitsi/jicofo:stable-${VERSION:-9111}+ container_name: ${APP_NAME}-jicofo+ restart: unless-stopped+ environment:+ - JICOFO_AUTH_PASSWORD=${JICOFO_AUTH_PASSWORD}+ volumes:+ - jitsi_jicofo:/config:Z+ depends_on:+ - prosody++ jvb:+ image: jitsi/jvb:stable-${VERSION:-9111}+ container_name: ${APP_NAME}-jvb+ restart: unless-stopped+ environment:+ - JVB_AUTH_PASSWORD=${JVB_AUTH_PASSWORD}+ - PUBLIC_URL=${PUBLIC_URL}+ volumes:+ - jitsi_jvb:/config:Z+ ports:+ - "10000:10000/udp"+ depends_on:+ - prosody++ volumes:+ jitsi_config:+ jitsi_transcripts:+ jitsi_prosody:+ jitsi_prosody_plugins:+ jitsi_jicofo:+ jitsi_jvb:diff --git a/backend/templates/keycloak.yaml b/backend/templates/keycloak.yamlnew file mode 100644index 00000000..58bd1aea--- /dev/null+++ b/backend/templates/keycloak.yaml@@ -0,0 +1,73 @@+id: keycloak+name: Keycloak+version: "23.0"+description: Open-source identity and access management for modern applications+icon: https://www.keycloak.org/resources/images/logo.svg+website: https://www.keycloak.org+documentation: https://www.keycloak.org/documentation+categories:+ - security+ - authentication+ - sso++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "8080"+ - name: ADMIN_USER+ description: Admin username+ default: admin+ required: true+ - name: ADMIN_PASSWORD+ description: Admin password+ type: password+ generate: password+ - name: DB_PASSWORD+ description: PostgreSQL password+ type: password+ generate: password++ports:+ - port: 8080+ protocol: tcp+ description: Web interface++volumes:+ - name: data+ path: /opt/keycloak/data+ description: Keycloak data++compose:+ services:+ keycloak:+ image: quay.io/keycloak/keycloak:${VERSION:-23.0}+ container_name: ${APP_NAME}+ restart: unless-stopped+ command: start-dev+ environment:+ - KC_DB=postgres+ - KC_DB_URL_HOST=postgres+ - KC_DB_URL_DATABASE=keycloak+ - KC_DB_USERNAME=keycloak+ - KC_DB_PASSWORD=${DB_PASSWORD}+ - KEYCLOAK_ADMIN=${ADMIN_USER}+ - KEYCLOAK_ADMIN_PASSWORD=${ADMIN_PASSWORD}+ ports:+ - "${HTTP_PORT}:8080"+ depends_on:+ - postgres++ postgres:+ image: postgres:15-alpine+ container_name: ${APP_NAME}-db+ restart: unless-stopped+ environment:+ - POSTGRES_USER=keycloak+ - POSTGRES_PASSWORD=${DB_PASSWORD}+ - POSTGRES_DB=keycloak+ volumes:+ - keycloak_db:/var/lib/postgresql/data++ volumes:+ keycloak_db:diff --git a/backend/templates/loki.yaml b/backend/templates/loki.yamlnew file mode 100644index 00000000..fc19ed6c--- /dev/null+++ b/backend/templates/loki.yaml@@ -0,0 +1,42 @@+id: loki+name: Grafana Loki+version: "2.9"+description: Horizontally scalable, highly available log aggregation system inspired by Prometheus+icon: https://grafana.com/static/img/logos/logo-loki.svg+website: https://grafana.com/oss/loki/+documentation: https://grafana.com/docs/loki/latest/+categories:+ - monitoring+ - logging+ - observability++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "3100"++ports:+ - port: 3100+ protocol: tcp+ description: HTTP API++volumes:+ - name: data+ path: /loki+ description: Loki data storage++compose:+ services:+ loki:+ image: grafana/loki:${VERSION:-2.9.0}+ container_name: ${APP_NAME}+ restart: unless-stopped+ command: -config.file=/etc/loki/local-config.yaml+ volumes:+ - loki_data:/loki+ ports:+ - "${HTTP_PORT}:3100"++ volumes:+ loki_data:diff --git a/backend/templates/matrix-synapse.yaml b/backend/templates/matrix-synapse.yamlnew file mode 100644index 00000000..01724432--- /dev/null+++ b/backend/templates/matrix-synapse.yaml@@ -0,0 +1,78 @@+id: matrix-synapse+name: Matrix Synapse+version: "1.98"+description: Decentralized communication server for secure, federated messaging+icon: https://matrix.org/images/matrix-logo.svg+website: https://matrix.org+documentation: https://matrix-org.github.io/synapse/latest/+categories:+ - collaboration+ - chat+ - federation++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "8008"+ - name: SERVER_NAME+ description: Server name (your domain, e.g., matrix.example.com)+ required: true+ - name: DB_PASSWORD+ description: PostgreSQL password+ type: password+ generate: password++ports:+ - port: 8008+ protocol: tcp+ description: Client-server API+ - port: 8448+ protocol: tcp+ description: Federation API++volumes:+ - name: data+ path: /data+ description: Synapse data++compose:+ services:+ synapse:+ image: matrixdotorg/synapse:v${VERSION:-1.98.0}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - SYNAPSE_SERVER_NAME=${SERVER_NAME}+ - SYNAPSE_REPORT_STATS=no+ volumes:+ - synapse_data:/data+ ports:+ - "${HTTP_PORT}:8008"+ - "8448:8448"+ depends_on:+ - postgres++ postgres:+ image: postgres:15-alpine+ container_name: ${APP_NAME}-db+ restart: unless-stopped+ environment:+ - POSTGRES_USER=synapse+ - POSTGRES_PASSWORD=${DB_PASSWORD}+ - POSTGRES_DB=synapse+ - POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C+ volumes:+ - synapse_db:/var/lib/postgresql/data++ volumes:+ synapse_data:+ synapse_db:++post_install: |+ # Generate initial config+ docker run -it --rm \+ -v synapse_data:/data \+ -e SYNAPSE_SERVER_NAME=${SERVER_NAME} \+ -e SYNAPSE_REPORT_STATS=no \+ matrixdotorg/synapse:v${VERSION:-1.98.0} generatediff --git a/backend/templates/mattermost.yaml b/backend/templates/mattermost.yamlnew file mode 100644index 00000000..8f3d2e6c--- /dev/null+++ b/backend/templates/mattermost.yaml@@ -0,0 +1,94 @@+id: mattermost+name: Mattermost+version: "9.2"+description: Open-source Slack alternative for secure team collaboration and messaging+icon: https://mattermost.com/wp-content/uploads/2022/02/icon.svg+website: https://mattermost.com+documentation: https://docs.mattermost.com+categories:+ - collaboration+ - chat+ - communication++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "8065"+ - name: SITE_URL+ description: Site URL (e.g., https://mattermost.example.com)+ default: http://localhost:8065+ required: true+ - name: DB_PASSWORD+ description: PostgreSQL password+ type: password+ generate: password++ports:+ - port: 8065+ protocol: tcp+ description: Web interface++volumes:+ - name: data+ path: /mattermost/data+ description: Mattermost data+ - name: logs+ path: /mattermost/logs+ description: Mattermost logs+ - name: config+ path: /mattermost/config+ description: Mattermost config+ - name: plugins+ path: /mattermost/plugins+ description: Mattermost plugins++compose:+ services:+ mattermost:+ image: mattermost/mattermost-team-edition:${VERSION:-9.2}+ container_name: ${APP_NAME}+ restart: unless-stopped+ security_opt:+ - no-new-privileges:true+ pids_limit: 200+ tmpfs:+ - /tmp+ environment:+ - TZ=UTC+ - MM_SQLSETTINGS_DRIVERNAME=postgres+ - MM_SQLSETTINGS_DATASOURCE=postgres://mmuser:${DB_PASSWORD}@postgres:5432/mattermost?sslmode=disable&connect_timeout=10+ - MM_SERVICESETTINGS_SITEURL=${SITE_URL}+ volumes:+ - mattermost_data:/mattermost/data+ - mattermost_logs:/mattermost/logs+ - mattermost_config:/mattermost/config+ - mattermost_plugins:/mattermost/plugins+ ports:+ - "${HTTP_PORT}:8065"+ depends_on:+ - postgres++ postgres:+ image: postgres:15-alpine+ container_name: ${APP_NAME}-db+ restart: unless-stopped+ security_opt:+ - no-new-privileges:true+ pids_limit: 100+ tmpfs:+ - /tmp+ - /var/run/postgresql+ environment:+ - POSTGRES_USER=mmuser+ - POSTGRES_PASSWORD=${DB_PASSWORD}+ - POSTGRES_DB=mattermost+ volumes:+ - mattermost_db:/var/lib/postgresql/data++ volumes:+ mattermost_data:+ mattermost_logs:+ mattermost_config:+ mattermost_plugins:+ mattermost_db:diff --git a/backend/templates/minio.yaml b/backend/templates/minio.yamlnew file mode 100644index 00000000..2847a7c8--- /dev/null+++ b/backend/templates/minio.yaml@@ -0,0 +1,61 @@+id: minio+name: MinIO+version: "2024-01"+description: High-performance, S3-compatible object storage for cloud-native applications+icon: https://min.io/resources/img/logo/MINIO_wordmark.png+website: https://min.io+documentation: https://min.io/docs/minio/linux/index.html+categories:+ - storage+ - s3+ - cloud++variables:+ - name: API_PORT+ description: API port+ type: port+ default: "9000"+ - name: CONSOLE_PORT+ description: Console port+ type: port+ default: "9001"+ - name: ROOT_USER+ description: Root username+ default: admin+ required: true+ - name: ROOT_PASSWORD+ description: Root password (min 8 chars)+ type: password+ generate: password++ports:+ - port: 9000+ protocol: tcp+ description: S3 API+ - port: 9001+ protocol: tcp+ description: Web console++volumes:+ - name: data+ path: /data+ description: Object storage data++compose:+ services:+ minio:+ image: minio/minio:RELEASE.${VERSION:-2024-01-16T16-07-38Z}+ container_name: ${APP_NAME}+ restart: unless-stopped+ command: server /data --console-address ":9001"+ environment:+ - MINIO_ROOT_USER=${ROOT_USER}+ - MINIO_ROOT_PASSWORD=${ROOT_PASSWORD}+ volumes:+ - minio_data:/data+ ports:+ - "${API_PORT}:9000"+ - "${CONSOLE_PORT}:9001"++ volumes:+ minio_data:diff --git a/backend/templates/mongo-express.yaml b/backend/templates/mongo-express.yamlnew file mode 100644index 00000000..f8631da4--- /dev/null+++ b/backend/templates/mongo-express.yaml@@ -0,0 +1,51 @@+id: mongo-express+name: Mongo Express+version: "1.0"+description: Web-based MongoDB admin interface for managing databases and collections+icon: https://www.mongodb.com/assets/images/global/favicon.ico+website: https://github.com/mongo-express/mongo-express+documentation: https://github.com/mongo-express/mongo-express#readme+categories:+ - database+ - mongodb+ - management++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "8081"+ - name: MONGO_HOST+ description: MongoDB server host+ default: mongo+ required: true+ - name: MONGO_PORT+ description: MongoDB server port+ type: port+ default: "27017"+ - name: ADMIN_USERNAME+ description: Basic auth username+ default: admin+ - name: ADMIN_PASSWORD+ description: Basic auth password+ type: password+ generate: password++ports:+ - port: 8081+ protocol: tcp+ description: Web interface++compose:+ services:+ mongo-express:+ image: mongo-express:${VERSION:-1.0}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - ME_CONFIG_MONGODB_SERVER=${MONGO_HOST}+ - ME_CONFIG_MONGODB_PORT=${MONGO_PORT}+ - ME_CONFIG_BASICAUTH_USERNAME=${ADMIN_USERNAME}+ - ME_CONFIG_BASICAUTH_PASSWORD=${ADMIN_PASSWORD}+ ports:+ - "${HTTP_PORT}:8081"diff --git a/backend/templates/mosquitto.yaml b/backend/templates/mosquitto.yamlnew file mode 100644index 00000000..629df7fd--- /dev/null+++ b/backend/templates/mosquitto.yaml@@ -0,0 +1,68 @@+id: mosquitto+name: Eclipse Mosquitto+version: "2.0"+description: Lightweight MQTT message broker for IoT and home automation+icon: https://mosquitto.org/images/mosquitto-logo-only.svg+website: https://mosquitto.org+documentation: https://mosquitto.org/documentation/+categories:+ - home-automation+ - iot+ - messaging++variables:+ - name: MQTT_PORT+ description: MQTT port+ type: port+ default: "1883"+ - name: WEBSOCKET_PORT+ description: WebSocket port+ type: port+ default: "9001"++ports:+ - port: 1883+ protocol: tcp+ description: MQTT+ - port: 9001+ protocol: tcp+ description: WebSocket++volumes:+ - name: config+ path: /mosquitto/config+ description: Mosquitto configuration+ - name: data+ path: /mosquitto/data+ description: Mosquitto data+ - name: log+ path: /mosquitto/log+ description: Mosquitto logs++compose:+ services:+ mosquitto:+ image: eclipse-mosquitto:${VERSION:-2.0}+ container_name: ${APP_NAME}+ restart: unless-stopped+ volumes:+ - mosquitto_config:/mosquitto/config+ - mosquitto_data:/mosquitto/data+ - mosquitto_log:/mosquitto/log+ ports:+ - "${MQTT_PORT}:1883"+ - "${WEBSOCKET_PORT}:9001"++ volumes:+ mosquitto_config:+ mosquitto_data:+ mosquitto_log:++post_install: |+ # Create default config+ cat > /var/serverkit/apps/${APP_NAME}/config/mosquitto.conf << 'EOF'+ listener 1883+ listener 9001+ protocol websockets+ allow_anonymous true+ EOFdiff --git a/backend/templates/n8n.yaml b/backend/templates/n8n.yamlnew file mode 100644index 00000000..98254213--- /dev/null+++ b/backend/templates/n8n.yaml@@ -0,0 +1,78 @@+id: n8n+name: n8n+version: "1.22"+description: Extendable workflow automation tool for connecting apps and services+icon: https://n8n.io/favicon.ico+website: https://n8n.io+documentation: https://docs.n8n.io+categories:+ - productivity+ - automation+ - integration++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "5678"+ - name: WEBHOOK_URL+ description: Webhook URL (e.g., https://n8n.example.com)+ required: true+ - name: ENCRYPTION_KEY+ description: Encryption key for credentials+ type: password+ generate: password+ - name: DB_PASSWORD+ description: PostgreSQL password+ type: password+ generate: password++ports:+ - port: 5678+ protocol: tcp+ description: Web interface++volumes:+ - name: data+ path: /home/node/.n8n+ description: n8n data++compose:+ services:+ n8n:+ image: n8nio/n8n:${VERSION:-1.22.0}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - N8N_HOST=0.0.0.0+ - N8N_PORT=5678+ - N8N_PROTOCOL=https+ - WEBHOOK_URL=${WEBHOOK_URL}+ - N8N_ENCRYPTION_KEY=${ENCRYPTION_KEY}+ - DB_TYPE=postgresdb+ - DB_POSTGRESDB_HOST=postgres+ - DB_POSTGRESDB_PORT=5432+ - DB_POSTGRESDB_DATABASE=n8n+ - DB_POSTGRESDB_USER=n8n+ - DB_POSTGRESDB_PASSWORD=${DB_PASSWORD}+ volumes:+ - n8n_data:/home/node/.n8n+ ports:+ - "${HTTP_PORT}:5678"+ depends_on:+ - postgres++ postgres:+ image: postgres:15-alpine+ container_name: ${APP_NAME}-db+ restart: unless-stopped+ environment:+ - POSTGRES_USER=n8n+ - POSTGRES_PASSWORD=${DB_PASSWORD}+ - POSTGRES_DB=n8n+ volumes:+ - n8n_db:/var/lib/postgresql/data++ volumes:+ n8n_data:+ n8n_db:diff --git a/backend/templates/navidrome.yaml b/backend/templates/navidrome.yamlnew file mode 100644index 00000000..d59cd509--- /dev/null+++ b/backend/templates/navidrome.yaml@@ -0,0 +1,52 @@+id: navidrome+name: Navidrome+version: "0.50"+description: Modern music server and streamer compatible with Subsonic/Airsonic+icon: https://www.navidrome.org/logo.png+website: https://www.navidrome.org+documentation: https://www.navidrome.org/docs/+categories:+ - media+ - music+ - streaming++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "4533"+ - name: MUSIC_PATH+ description: Path to music files on host+ default: /music+ required: true++ports:+ - port: 4533+ protocol: tcp+ description: Web interface++volumes:+ - name: data+ path: /data+ description: Navidrome data++compose:+ services:+ navidrome:+ image: deluan/navidrome:${VERSION:-0.50.2}+ container_name: ${APP_NAME}+ restart: unless-stopped+ user: "1000:1000"+ environment:+ - ND_SCANSCHEDULE=1h+ - ND_LOGLEVEL=info+ - ND_SESSIONTIMEOUT=24h+ - ND_BASEURL=+ volumes:+ - navidrome_data:/data+ - ${MUSIC_PATH}:/music:ro+ ports:+ - "${HTTP_PORT}:4533"++ volumes:+ navidrome_data:diff --git a/backend/templates/netdata.yaml b/backend/templates/netdata.yamlnew file mode 100644index 00000000..7b8a11de--- /dev/null+++ b/backend/templates/netdata.yaml@@ -0,0 +1,61 @@+id: netdata+name: Netdata+version: "1.44"+description: Real-time performance and health monitoring for systems and applications+icon: https://raw.githubusercontent.com/netdata/netdata/master/web/gui/static/img/netdata-logomark.svg+website: https://netdata.cloud+documentation: https://learn.netdata.cloud/docs/+categories:+ - monitoring+ - metrics+ - realtime++variables:+ - name: HTTP_PORT+ description: HTTP port for web interface+ type: port+ default: "19999"++ports:+ - port: 19999+ protocol: tcp+ description: Web interface++volumes:+ - name: config+ path: /etc/netdata+ description: Netdata configuration+ - name: lib+ path: /var/lib/netdata+ description: Netdata data+ - name: cache+ path: /var/cache/netdata+ description: Netdata cache++compose:+ services:+ netdata:+ image: netdata/netdata:v${VERSION:-1.44.0}+ container_name: ${APP_NAME}+ restart: unless-stopped+ hostname: ${APP_NAME}+ cap_add:+ - SYS_PTRACE+ security_opt:+ - apparmor:unconfined+ volumes:+ - netdata_config:/etc/netdata+ - netdata_lib:/var/lib/netdata+ - netdata_cache:/var/cache/netdata+ - /etc/passwd:/host/etc/passwd:ro+ - /etc/group:/host/etc/group:ro+ - /proc:/host/proc:ro+ - /sys:/host/sys:ro+ - /etc/os-release:/host/etc/os-release:ro+ ports:+ - "${HTTP_PORT}:19999"++ volumes:+ netdata_config:+ netdata_lib:+ netdata_cache:diff --git a/backend/templates/nodered.yaml b/backend/templates/nodered.yamlnew file mode 100644index 00000000..1bbac7d8--- /dev/null+++ b/backend/templates/nodered.yaml@@ -0,0 +1,46 @@+id: nodered+name: Node-RED+version: "3.1"+description: Flow-based programming tool for wiring together hardware devices and APIs+icon: https://nodered.org/about/resources/media/node-red-icon.svg+website: https://nodered.org+documentation: https://nodered.org/docs/+categories:+ - home-automation+ - automation+ - iot++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "1880"+ - name: TZ+ description: Timezone+ default: UTC++ports:+ - port: 1880+ protocol: tcp+ description: Web interface++volumes:+ - name: data+ path: /data+ description: Node-RED data++compose:+ services:+ nodered:+ image: nodered/node-red:${VERSION:-3.1}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - TZ=${TZ}+ volumes:+ - nodered_data:/data+ ports:+ - "${HTTP_PORT}:1880"++ volumes:+ nodered_data:diff --git a/backend/templates/outline.yaml b/backend/templates/outline.yamlnew file mode 100644index 00000000..0f1bded0--- /dev/null+++ b/backend/templates/outline.yaml@@ -0,0 +1,85 @@+id: outline+name: Outline+version: "0.74"+description: Beautiful, real-time collaborative team wiki and knowledge base+icon: https://www.getoutline.com/images/logo.svg+website: https://www.getoutline.com+documentation: https://www.getoutline.com/developers+categories:+ - productivity+ - wiki+ - collaboration++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "3000"+ - name: SECRET_KEY+ description: Secret key+ type: password+ generate: password+ - name: UTILS_SECRET+ description: Utils secret+ type: password+ generate: password+ - name: DB_PASSWORD+ description: PostgreSQL password+ type: password+ generate: password+ - name: URL+ description: Public URL (e.g., https://wiki.example.com)+ required: true++ports:+ - port: 3000+ protocol: tcp+ description: Web interface++volumes:+ - name: data+ path: /var/lib/outline/data+ description: Outline data++compose:+ services:+ outline:+ image: outlinewiki/outline:${VERSION:-0.74.0}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - SECRET_KEY=${SECRET_KEY}+ - UTILS_SECRET=${UTILS_SECRET}+ - DATABASE_URL=postgres://outline:${DB_PASSWORD}@postgres:5432/outline+ - REDIS_URL=redis://redis:6379+ - URL=${URL}+ - PORT=3000+ - FILE_STORAGE=local+ - FILE_STORAGE_LOCAL_ROOT_DIR=/var/lib/outline/data+ volumes:+ - outline_data:/var/lib/outline/data+ ports:+ - "${HTTP_PORT}:3000"+ depends_on:+ - postgres+ - redis++ postgres:+ image: postgres:15-alpine+ container_name: ${APP_NAME}-db+ restart: unless-stopped+ environment:+ - POSTGRES_USER=outline+ - POSTGRES_PASSWORD=${DB_PASSWORD}+ - POSTGRES_DB=outline+ volumes:+ - outline_db:/var/lib/postgresql/data++ redis:+ image: redis:7-alpine+ container_name: ${APP_NAME}-redis+ restart: unless-stopped++ volumes:+ outline_data:+ outline_db:diff --git a/backend/templates/payload.yaml b/backend/templates/payload.yamlnew file mode 100644index 00000000..b5a50139--- /dev/null+++ b/backend/templates/payload.yaml@@ -0,0 +1,64 @@+id: payload+name: Payload CMS+version: "2.5"+description: Modern TypeScript headless CMS with powerful admin panel and customization+icon: https://payloadcms.com/images/favicon.svg+website: https://payloadcms.com+documentation: https://payloadcms.com/docs+categories:+ - cms+ - headless+ - typescript++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "3000"+ - name: PAYLOAD_SECRET+ description: Payload secret key+ type: password+ generate: password+ - name: MONGODB_URI+ description: MongoDB connection URI+ default: mongodb://mongo:27017/payload++ports:+ - port: 3000+ protocol: tcp+ description: Web interface and API++volumes:+ - name: media+ path: /app/media+ description: Uploaded media files++compose:+ services:+ payload:+ image: node:20-alpine+ container_name: ${APP_NAME}+ restart: unless-stopped+ working_dir: /app+ command: sh -c "npm install && npm run serve"+ environment:+ - PAYLOAD_SECRET=${PAYLOAD_SECRET}+ - MONGODB_URI=${MONGODB_URI}+ - PAYLOAD_PUBLIC_SERVER_URL=http://localhost:${HTTP_PORT}+ volumes:+ - payload_media:/app/media+ ports:+ - "${HTTP_PORT}:3000"+ depends_on:+ - mongo++ mongo:+ image: mongo:7+ container_name: ${APP_NAME}-db+ restart: unless-stopped+ volumes:+ - payload_db:/data/db++ volumes:+ payload_media:+ payload_db:diff --git a/backend/templates/pgadmin.yaml b/backend/templates/pgadmin.yamlnew file mode 100644index 00000000..cdb481a3--- /dev/null+++ b/backend/templates/pgadmin.yaml@@ -0,0 +1,52 @@+id: pgadmin+name: pgAdmin 4+version: "8.2"+description: Web-based PostgreSQL administration and development platform+icon: https://www.pgadmin.org/static/COMPILED/assets/img/favicon.ico+website: https://www.pgadmin.org+documentation: https://www.pgadmin.org/docs/+categories:+ - database+ - postgresql+ - management++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "5050"+ - name: ADMIN_EMAIL+ description: Admin email for login+ default: [email protected]+ required: true+ - name: ADMIN_PASSWORD+ description: Admin password+ type: password+ generate: password++ports:+ - port: 5050+ protocol: tcp+ description: Web interface++volumes:+ - name: data+ path: /var/lib/pgadmin+ description: pgAdmin data++compose:+ services:+ pgadmin:+ image: dpage/pgadmin4:${VERSION:-8.2}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - PGADMIN_DEFAULT_EMAIL=${ADMIN_EMAIL}+ - PGADMIN_DEFAULT_PASSWORD=${ADMIN_PASSWORD}+ volumes:+ - pgadmin_data:/var/lib/pgadmin+ ports:+ - "${HTTP_PORT}:80"++ volumes:+ pgadmin_data:diff --git a/backend/templates/photoprism.yaml b/backend/templates/photoprism.yamlnew file mode 100644index 00000000..32840d15--- /dev/null+++ b/backend/templates/photoprism.yaml@@ -0,0 +1,88 @@+id: photoprism+name: PhotoPrism+version: "231128"+description: AI-powered photo management application with face recognition and auto-tagging+icon: https://photoprism.app/static/icons/logo.svg+website: https://photoprism.app+documentation: https://docs.photoprism.app+categories:+ - media+ - photos+ - ai++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "2342"+ - name: ADMIN_PASSWORD+ description: Admin password+ type: password+ generate: password+ - name: PHOTOS_PATH+ description: Path to photos on host+ default: /photos+ required: true+ - name: DB_PASSWORD+ description: MariaDB password+ type: password+ generate: password++ports:+ - port: 2342+ protocol: tcp+ description: Web interface++volumes:+ - name: storage+ path: /photoprism/storage+ description: PhotoPrism storage++compose:+ services:+ photoprism:+ image: photoprism/photoprism:${VERSION:-231128}+ container_name: ${APP_NAME}+ restart: unless-stopped+ security_opt:+ - seccomp:unconfined+ - apparmor:unconfined+ environment:+ - PHOTOPRISM_ADMIN_PASSWORD=${ADMIN_PASSWORD}+ - PHOTOPRISM_SITE_URL=http://localhost:${HTTP_PORT}/+ - PHOTOPRISM_ORIGINALS_LIMIT=5000+ - PHOTOPRISM_HTTP_COMPRESSION=gzip+ - PHOTOPRISM_DATABASE_DRIVER=mysql+ - PHOTOPRISM_DATABASE_SERVER=mariadb:3306+ - PHOTOPRISM_DATABASE_NAME=photoprism+ - PHOTOPRISM_DATABASE_USER=photoprism+ - PHOTOPRISM_DATABASE_PASSWORD=${DB_PASSWORD}+ volumes:+ - ${PHOTOS_PATH}:/photoprism/originals+ - photoprism_storage:/photoprism/storage+ ports:+ - "${HTTP_PORT}:2342"+ depends_on:+ - mariadb++ mariadb:+ image: mariadb:11+ container_name: ${APP_NAME}-db+ restart: unless-stopped+ security_opt:+ - seccomp:unconfined+ - apparmor:unconfined+ command: --innodb-buffer-pool-size=512M --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=120+ environment:+ - MARIADB_AUTO_UPGRADE=1+ - MARIADB_INITDB_SKIP_TZINFO=1+ - MARIADB_ROOT_PASSWORD=${DB_PASSWORD}+ - MARIADB_DATABASE=photoprism+ - MARIADB_USER=photoprism+ - MARIADB_PASSWORD=${DB_PASSWORD}+ volumes:+ - photoprism_db:/var/lib/mysql++ volumes:+ photoprism_storage:+ photoprism_db:diff --git a/backend/templates/phpmyadmin.yaml b/backend/templates/phpmyadmin.yamlnew file mode 100644index 00000000..56ad6b30--- /dev/null+++ b/backend/templates/phpmyadmin.yaml@@ -0,0 +1,43 @@+id: phpmyadmin+name: phpMyAdmin+version: "5.2"+description: Web-based MySQL and MariaDB administration tool+icon: https://www.phpmyadmin.net/static/images/logo.png+website: https://www.phpmyadmin.net+documentation: https://docs.phpmyadmin.net+categories:+ - database+ - mysql+ - management++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "8080"+ - name: MYSQL_HOST+ description: MySQL server host+ default: mysql+ required: true+ - name: MYSQL_PORT+ description: MySQL server port+ type: port+ default: "3306"++ports:+ - port: 8080+ protocol: tcp+ description: Web interface++compose:+ services:+ phpmyadmin:+ image: phpmyadmin:${VERSION:-5.2}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - PMA_HOST=${MYSQL_HOST}+ - PMA_PORT=${MYSQL_PORT}+ - UPLOAD_LIMIT=100M+ ports:+ - "${HTTP_PORT}:80"diff --git a/backend/templates/plausible.yaml b/backend/templates/plausible.yamlnew file mode 100644index 00000000..08e29e0e--- /dev/null+++ b/backend/templates/plausible.yaml@@ -0,0 +1,82 @@+id: plausible+name: Plausible Analytics+version: "2.0"+description: Privacy-friendly, lightweight alternative to Google Analytics+icon: https://plausible.io/images/icon/plausible_favicon.png+website: https://plausible.io+documentation: https://plausible.io/docs+categories:+ - analytics+ - privacy+ - monitoring++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "8000"+ - name: BASE_URL+ description: Base URL (e.g., https://analytics.example.com)+ required: true+ - name: SECRET_KEY_BASE+ description: Secret key for encryption+ type: password+ generate: password+ - name: DB_PASSWORD+ description: PostgreSQL password+ type: password+ generate: password++ports:+ - port: 8000+ protocol: tcp+ description: Web interface++volumes:+ - name: data+ path: /var/lib/plausible+ description: Plausible data++compose:+ services:+ plausible:+ image: plausible/analytics:v${VERSION:-2.0}+ container_name: ${APP_NAME}+ restart: unless-stopped+ command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"+ environment:+ - BASE_URL=${BASE_URL}+ - SECRET_KEY_BASE=${SECRET_KEY_BASE}+ - DATABASE_URL=postgres://plausible:${DB_PASSWORD}@plausible_db:5432/plausible_db+ - CLICKHOUSE_DATABASE_URL=http://plausible_events_db:8123/plausible_events_db+ ports:+ - "${HTTP_PORT}:8000"+ depends_on:+ - plausible_db+ - plausible_events_db++ plausible_db:+ image: postgres:14-alpine+ container_name: ${APP_NAME}-db+ restart: unless-stopped+ environment:+ - POSTGRES_PASSWORD=${DB_PASSWORD}+ - POSTGRES_USER=plausible+ - POSTGRES_DB=plausible_db+ volumes:+ - plausible_db:/var/lib/postgresql/data++ plausible_events_db:+ image: clickhouse/clickhouse-server:23.3-alpine+ container_name: ${APP_NAME}-events+ restart: unless-stopped+ volumes:+ - plausible_events:/var/lib/clickhouse+ ulimits:+ nofile:+ soft: 262144+ hard: 262144++ volumes:+ plausible_db:+ plausible_events:diff --git a/backend/templates/plex.yaml b/backend/templates/plex.yamlnew file mode 100644index 00000000..97cdef5b--- /dev/null+++ b/backend/templates/plex.yaml@@ -0,0 +1,68 @@+id: plex+name: Plex Media Server+version: "1.32"+description: Organize and stream your personal media collection to any device+icon: https://www.plex.tv/wp-content/uploads/2018/01/pmp-icon-1.png+website: https://www.plex.tv+documentation: https://support.plex.tv+categories:+ - media+ - streaming+ - entertainment++variables:+ - name: PLEX_CLAIM+ description: Plex claim token (get from plex.tv/claim)+ required: false+ - name: MEDIA_PATH+ description: Path to media files on host+ default: /media+ required: true+ - name: HTTP_PORT+ description: Web interface port+ type: port+ default: "32400"++ports:+ - port: 32400+ protocol: tcp+ description: Web interface+ - port: 3005+ protocol: tcp+ description: Plex Companion+ - port: 8324+ protocol: tcp+ description: Roku control+ - port: 32469+ protocol: tcp+ description: Plex DLNA++volumes:+ - name: config+ path: /config+ description: Plex configuration+ - name: transcode+ path: /transcode+ description: Transcode directory++compose:+ services:+ plex:+ image: linuxserver/plex:${VERSION:-latest}+ container_name: ${APP_NAME}+ restart: unless-stopped+ network_mode: host+ environment:+ - PUID=1000+ - PGID=1000+ - TZ=UTC+ - VERSION=docker+ - PLEX_CLAIM=${PLEX_CLAIM}+ volumes:+ - plex_config:/config+ - plex_transcode:/transcode+ - ${MEDIA_PATH}:/media:ro++ volumes:+ plex_config:+ plex_transcode:diff --git a/backend/templates/prometheus.yaml b/backend/templates/prometheus.yamlnew file mode 100644index 00000000..bd416ed5--- /dev/null+++ b/backend/templates/prometheus.yaml@@ -0,0 +1,69 @@+id: prometheus+name: Prometheus+version: "2.48"+description: Open-source monitoring and alerting toolkit designed for reliability and scalability+icon: https://raw.githubusercontent.com/prometheus/prometheus/main/documentation/images/prometheus-logo.svg+website: https://prometheus.io+documentation: https://prometheus.io/docs/+categories:+ - monitoring+ - metrics+ - alerting++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "9090"+ - name: RETENTION_TIME+ description: Data retention period+ default: 15d++ports:+ - port: 9090+ protocol: tcp+ description: Web interface and API++volumes:+ - name: data+ path: /prometheus+ description: Prometheus data storage+ - name: config+ path: /etc/prometheus+ description: Configuration files++compose:+ services:+ prometheus:+ image: prom/prometheus:v${VERSION:-2.48.0}+ container_name: ${APP_NAME}+ restart: unless-stopped+ command:+ - '--config.file=/etc/prometheus/prometheus.yml'+ - '--storage.tsdb.path=/prometheus'+ - '--storage.tsdb.retention.time=${RETENTION_TIME}'+ - '--web.console.libraries=/etc/prometheus/console_libraries'+ - '--web.console.templates=/etc/prometheus/consoles'+ - '--web.enable-lifecycle'+ volumes:+ - prometheus_data:/prometheus+ - prometheus_config:/etc/prometheus+ ports:+ - "${HTTP_PORT}:9090"++ volumes:+ prometheus_data:+ prometheus_config:++post_install: |+ # Create default prometheus config+ cat > /var/serverkit/apps/${APP_NAME}/config/prometheus.yml << 'EOF'+ global:+ scrape_interval: 15s+ evaluation_interval: 15s++ scrape_configs:+ - job_name: 'prometheus'+ static_configs:+ - targets: ['localhost:9090']+ EOFdiff --git a/backend/templates/redis-commander.yaml b/backend/templates/redis-commander.yamlnew file mode 100644index 00000000..60bb6a6a--- /dev/null+++ b/backend/templates/redis-commander.yaml@@ -0,0 +1,45 @@+id: redis-commander+name: Redis Commander+version: "0.8"+description: Web-based Redis management tool for viewing and editing data+icon: https://redis.io/images/redis-white.png+website: https://github.com/joeferner/redis-commander+documentation: https://github.com/joeferner/redis-commander#readme+categories:+ - database+ - redis+ - management++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "8081"+ - name: REDIS_HOST+ description: Redis server host+ default: redis+ required: true+ - name: REDIS_PORT+ description: Redis server port+ type: port+ default: "6379"+ - name: REDIS_PASSWORD+ description: Redis password (if any)+ type: password++ports:+ - port: 8081+ protocol: tcp+ description: Web interface++compose:+ services:+ redis-commander:+ image: rediscommander/redis-commander:${VERSION:-latest}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - REDIS_HOSTS=local:${REDIS_HOST}:${REDIS_PORT}+ - REDIS_PASSWORD=${REDIS_PASSWORD}+ ports:+ - "${HTTP_PORT}:8081"diff --git a/backend/templates/registry.yaml b/backend/templates/registry.yamlnew file mode 100644index 00000000..9337bd4d--- /dev/null+++ b/backend/templates/registry.yaml@@ -0,0 +1,59 @@+id: registry+name: Docker Registry+version: "2.8"+description: Private Docker container image registry for storing and distributing container images+icon: https://www.docker.com/wp-content/uploads/2022/03/Moby-logo.png+website: https://docs.docker.com/registry/+documentation: https://docs.docker.com/registry/+categories:+ - devops+ - docker+ - registry++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "5000"+ - name: REGISTRY_AUTH+ description: Enable basic authentication+ options:+ - "true"+ - "false"+ default: "false"+ - name: REGISTRY_USER+ description: Registry username (if auth enabled)+ default: admin+ - name: REGISTRY_PASSWORD+ description: Registry password (if auth enabled)+ type: password+ generate: password++ports:+ - port: 5000+ protocol: tcp+ description: Registry API++volumes:+ - name: data+ path: /var/lib/registry+ description: Registry storage+ - name: auth+ path: /auth+ description: Authentication files++compose:+ services:+ registry:+ image: registry:${VERSION:-2.8}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - REGISTRY_STORAGE_DELETE_ENABLED=true+ volumes:+ - registry_data:/var/lib/registry+ ports:+ - "${HTTP_PORT}:5000"++ volumes:+ registry_data:diff --git a/backend/templates/rocketchat.yaml b/backend/templates/rocketchat.yamlnew file mode 100644index 00000000..c40d5660--- /dev/null+++ b/backend/templates/rocketchat.yaml@@ -0,0 +1,68 @@+id: rocketchat+name: Rocket.Chat+version: "6.5"+description: Open-source team communication platform with chat, video, and file sharing+icon: https://rocket.chat/images/default/favicon.svg+website: https://rocket.chat+documentation: https://docs.rocket.chat+categories:+ - collaboration+ - chat+ - communication++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "3000"+ - name: ROOT_URL+ description: Root URL (e.g., https://chat.example.com)+ default: http://localhost:3000+ required: true++ports:+ - port: 3000+ protocol: tcp+ description: Web interface++volumes:+ - name: uploads+ path: /app/uploads+ description: Uploaded files++compose:+ services:+ rocketchat:+ image: rocket.chat:${VERSION:-6.5}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - ROOT_URL=${ROOT_URL}+ - MONGO_URL=mongodb://mongo:27017/rocketchat?replicaSet=rs0+ - MONGO_OPLOG_URL=mongodb://mongo:27017/local?replicaSet=rs0+ volumes:+ - rocketchat_uploads:/app/uploads+ ports:+ - "${HTTP_PORT}:3000"+ depends_on:+ - mongo++ mongo:+ image: mongo:6.0+ container_name: ${APP_NAME}-db+ restart: unless-stopped+ command: mongod --oplogSize 128 --replSet rs0+ volumes:+ - rocketchat_db:/data/db++ mongo-init-replica:+ image: mongo:6.0+ container_name: ${APP_NAME}-mongo-init+ command: >+ bash -c "sleep 10 && mongosh mongo/rocketchat --eval \"rs.initiate({ _id: 'rs0', members: [ { _id: 0, host: 'mongo:27017' } ]})\""+ depends_on:+ - mongo++ volumes:+ rocketchat_uploads:+ rocketchat_db:diff --git a/backend/templates/seafile.yaml b/backend/templates/seafile.yamlnew file mode 100644index 00000000..135aa387--- /dev/null+++ b/backend/templates/seafile.yaml@@ -0,0 +1,82 @@+id: seafile+name: Seafile+version: "11.0"+description: Open-source file sync and share platform with built-in collaboration+icon: https://www.seafile.com/media/img/seafile-logo.png+website: https://www.seafile.com+documentation: https://manual.seafile.com+categories:+ - storage+ - sync+ - collaboration++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "8080"+ - name: SEAFILE_SERVER_HOSTNAME+ description: Server hostname (e.g., seafile.example.com)+ required: true+ - name: ADMIN_EMAIL+ description: Admin email+ default: [email protected]+ required: true+ - name: ADMIN_PASSWORD+ description: Admin password+ type: password+ generate: password+ - name: DB_PASSWORD+ description: MariaDB password+ type: password+ generate: password++ports:+ - port: 8080+ protocol: tcp+ description: Web interface++volumes:+ - name: data+ path: /shared/seafile+ description: Seafile data++compose:+ services:+ seafile:+ image: seafileltd/seafile-mc:${VERSION:-11.0-latest}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - DB_HOST=db+ - DB_ROOT_PASSWD=${DB_PASSWORD}+ - SEAFILE_SERVER_HOSTNAME=${SEAFILE_SERVER_HOSTNAME}+ - SEAFILE_ADMIN_EMAIL=${ADMIN_EMAIL}+ - SEAFILE_ADMIN_PASSWORD=${ADMIN_PASSWORD}+ volumes:+ - seafile_data:/shared+ ports:+ - "${HTTP_PORT}:80"+ depends_on:+ - db+ - memcached++ db:+ image: mariadb:10.11+ container_name: ${APP_NAME}-db+ restart: unless-stopped+ environment:+ - MYSQL_ROOT_PASSWORD=${DB_PASSWORD}+ - MYSQL_LOG_CONSOLE=true+ volumes:+ - seafile_db:/var/lib/mysql++ memcached:+ image: memcached:1.6-alpine+ container_name: ${APP_NAME}-memcached+ restart: unless-stopped+ entrypoint: memcached -m 256++ volumes:+ seafile_data:+ seafile_db:diff --git a/backend/templates/sonarqube.yaml b/backend/templates/sonarqube.yamlnew file mode 100644index 00000000..51b771e7--- /dev/null+++ b/backend/templates/sonarqube.yaml@@ -0,0 +1,78 @@+id: sonarqube+name: SonarQube+version: "10.3"+description: Continuous inspection of code quality and security vulnerabilities+icon: https://www.sonarqube.org/logos/index/sonarqube-logo.svg+website: https://www.sonarqube.org+documentation: https://docs.sonarqube.org/latest/+categories:+ - devops+ - code-quality+ - security++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "9000"+ - name: DB_PASSWORD+ description: PostgreSQL password+ type: password+ generate: password++ports:+ - port: 9000+ protocol: tcp+ description: Web interface++volumes:+ - name: data+ path: /opt/sonarqube/data+ description: SonarQube data+ - name: extensions+ path: /opt/sonarqube/extensions+ description: SonarQube extensions+ - name: logs+ path: /opt/sonarqube/logs+ description: SonarQube logs++compose:+ services:+ sonarqube:+ image: sonarqube:${VERSION:-10.3-community}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - SONAR_JDBC_URL=jdbc:postgresql://db:5432/sonarqube+ - SONAR_JDBC_USERNAME=sonarqube+ - SONAR_JDBC_PASSWORD=${DB_PASSWORD}+ volumes:+ - sonarqube_data:/opt/sonarqube/data+ - sonarqube_extensions:/opt/sonarqube/extensions+ - sonarqube_logs:/opt/sonarqube/logs+ ports:+ - "${HTTP_PORT}:9000"+ depends_on:+ - db++ db:+ image: postgres:15-alpine+ container_name: ${APP_NAME}-db+ restart: unless-stopped+ environment:+ - POSTGRES_USER=sonarqube+ - POSTGRES_PASSWORD=${DB_PASSWORD}+ - POSTGRES_DB=sonarqube+ volumes:+ - sonarqube_db:/var/lib/postgresql/data++ volumes:+ sonarqube_data:+ sonarqube_extensions:+ sonarqube_logs:+ sonarqube_db:++pre_install: |+ # SonarQube requires increased vm.max_map_count+ sysctl -w vm.max_map_count=524288+ echo "vm.max_map_count=524288" >> /etc/sysctl.confdiff --git a/backend/templates/strapi.yaml b/backend/templates/strapi.yamlnew file mode 100644index 00000000..1ee9b36d--- /dev/null+++ b/backend/templates/strapi.yaml@@ -0,0 +1,89 @@+id: strapi+name: Strapi+version: "4.15"+description: Open-source headless CMS with customizable API and admin panel+icon: https://strapi.io/assets/strapi-logo-dark.svg+website: https://strapi.io+documentation: https://docs.strapi.io+categories:+ - cms+ - headless+ - api++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "1337"+ - name: APP_KEYS+ description: Application keys+ type: password+ generate: password+ - name: API_TOKEN_SALT+ description: API token salt+ type: password+ generate: password+ - name: ADMIN_JWT_SECRET+ description: Admin JWT secret+ type: password+ generate: password+ - name: JWT_SECRET+ description: JWT secret+ type: password+ generate: password+ - name: DB_PASSWORD+ description: PostgreSQL password+ type: password+ generate: password++ports:+ - port: 1337+ protocol: tcp+ description: API and admin panel++volumes:+ - name: app+ path: /opt/app+ description: Strapi application+ - name: db+ path: /var/lib/postgresql/data+ description: PostgreSQL data++compose:+ services:+ strapi:+ image: strapi/strapi:${VERSION:-4.15}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - DATABASE_CLIENT=postgres+ - DATABASE_HOST=db+ - DATABASE_PORT=5432+ - DATABASE_NAME=strapi+ - DATABASE_USERNAME=strapi+ - DATABASE_PASSWORD=${DB_PASSWORD}+ - APP_KEYS=${APP_KEYS}+ - API_TOKEN_SALT=${API_TOKEN_SALT}+ - ADMIN_JWT_SECRET=${ADMIN_JWT_SECRET}+ - JWT_SECRET=${JWT_SECRET}+ volumes:+ - strapi_app:/opt/app+ ports:+ - "${HTTP_PORT}:1337"+ depends_on:+ - db++ db:+ image: postgres:15-alpine+ container_name: ${APP_NAME}-db+ restart: unless-stopped+ environment:+ - POSTGRES_USER=strapi+ - POSTGRES_PASSWORD=${DB_PASSWORD}+ - POSTGRES_DB=strapi+ volumes:+ - strapi_db:/var/lib/postgresql/data++ volumes:+ strapi_app:+ strapi_db:diff --git a/backend/templates/syncthing.yaml b/backend/templates/syncthing.yamlnew file mode 100644index 00000000..190a4ca0--- /dev/null+++ b/backend/templates/syncthing.yaml@@ -0,0 +1,63 @@+id: syncthing+name: Syncthing+version: "1.27"+description: Continuous file synchronization for decentralized, peer-to-peer sync+icon: https://syncthing.net/img/logo-horizontal.svg+website: https://syncthing.net+documentation: https://docs.syncthing.net+categories:+ - storage+ - sync+ - backup++variables:+ - name: HTTP_PORT+ description: Web UI port+ type: port+ default: "8384"+ - name: SYNC_PORT+ description: Sync protocol port+ type: port+ default: "22000"+ - name: DATA_PATH+ description: Path to sync folder on host+ default: /data+ required: true++ports:+ - port: 8384+ protocol: tcp+ description: Web interface+ - port: 22000+ protocol: tcp+ description: Sync protocol+ - port: 21027+ protocol: udp+ description: Discovery++volumes:+ - name: config+ path: /config+ description: Syncthing configuration++compose:+ services:+ syncthing:+ image: syncthing/syncthing:${VERSION:-1.27}+ container_name: ${APP_NAME}+ restart: unless-stopped+ hostname: ${APP_NAME}+ environment:+ - PUID=1000+ - PGID=1000+ volumes:+ - syncthing_config:/config+ - ${DATA_PATH}:/data+ ports:+ - "${HTTP_PORT}:8384"+ - "${SYNC_PORT}:22000/tcp"+ - "${SYNC_PORT}:22000/udp"+ - "21027:21027/udp"++ volumes:+ syncthing_config:diff --git a/backend/templates/traefik.yaml b/backend/templates/traefik.yamlnew file mode 100644index 00000000..4323f227--- /dev/null+++ b/backend/templates/traefik.yaml@@ -0,0 +1,71 @@+id: traefik+name: Traefik+version: "3.0"+description: Modern HTTP reverse proxy and load balancer with automatic HTTPS+icon: https://traefik.io/static/traefik-logo.svg+website: https://traefik.io+documentation: https://doc.traefik.io/traefik/+categories:+ - networking+ - proxy+ - ssl++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "80"+ - name: HTTPS_PORT+ description: HTTPS port+ type: port+ default: "443"+ - name: DASHBOARD_PORT+ description: Dashboard port+ type: port+ default: "8080"+ - name: ACME_EMAIL+ description: Email for Let's Encrypt certificates+ required: true++ports:+ - port: 80+ protocol: tcp+ description: HTTP+ - port: 443+ protocol: tcp+ description: HTTPS+ - port: 8080+ protocol: tcp+ description: Dashboard++volumes:+ - name: certs+ path: /letsencrypt+ description: Let's Encrypt certificates++compose:+ services:+ traefik:+ image: traefik:v${VERSION:-3.0}+ container_name: ${APP_NAME}+ restart: unless-stopped+ command:+ - "--api.dashboard=true"+ - "--api.insecure=true"+ - "--providers.docker=true"+ - "--providers.docker.exposedbydefault=false"+ - "--entrypoints.web.address=:80"+ - "--entrypoints.websecure.address=:443"+ - "--certificatesresolvers.letsencrypt.acme.email=${ACME_EMAIL}"+ - "--certificatesresolvers.letsencrypt.acme.storage=/letsencrypt/acme.json"+ - "--certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=web"+ volumes:+ - traefik_certs:/letsencrypt+ - /var/run/docker.sock:/var/run/docker.sock:ro+ ports:+ - "${HTTP_PORT}:80"+ - "${HTTPS_PORT}:443"+ - "${DASHBOARD_PORT}:8080"++ volumes:+ traefik_certs:diff --git a/backend/templates/umami.yaml b/backend/templates/umami.yamlnew file mode 100644index 00000000..09071f09--- /dev/null+++ b/backend/templates/umami.yaml@@ -0,0 +1,63 @@+id: umami+name: Umami+version: "2.9"+description: Simple, fast, privacy-focused alternative to Google Analytics+icon: https://umami.is/images/umami-logo.svg+website: https://umami.is+documentation: https://umami.is/docs+categories:+ - analytics+ - privacy+ - monitoring++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "3000"+ - name: APP_SECRET+ description: Application secret+ type: password+ generate: password+ - name: DB_PASSWORD+ description: PostgreSQL password+ type: password+ generate: password++ports:+ - port: 3000+ protocol: tcp+ description: Web interface++compose:+ services:+ umami:+ image: ghcr.io/umami-software/umami:postgresql-v${VERSION:-2.9.0}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - DATABASE_URL=postgresql://umami:${DB_PASSWORD}@db:5432/umami+ - DATABASE_TYPE=postgresql+ - APP_SECRET=${APP_SECRET}+ ports:+ - "${HTTP_PORT}:3000"+ depends_on:+ - db++ db:+ image: postgres:15-alpine+ container_name: ${APP_NAME}-db+ restart: unless-stopped+ environment:+ - POSTGRES_USER=umami+ - POSTGRES_PASSWORD=${DB_PASSWORD}+ - POSTGRES_DB=umami+ volumes:+ - umami_db:/var/lib/postgresql/data++ volumes:+ umami_db:++post_install: |+ echo "Default login: admin / umami"+ echo "Please change the password after first login!"diff --git a/backend/templates/vault.yaml b/backend/templates/vault.yamlnew file mode 100644index 00000000..11c548fd--- /dev/null+++ b/backend/templates/vault.yaml@@ -0,0 +1,61 @@+id: vault+name: HashiCorp Vault+version: "1.15"+description: Secrets management and data protection platform for securing sensitive data+icon: https://www.vaultproject.io/img/logo-hashicorp.svg+website: https://www.vaultproject.io+documentation: https://developer.hashicorp.com/vault/docs+categories:+ - devops+ - security+ - secrets++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "8200"+ - name: DEV_MODE+ description: Run in development mode (not for production)+ options:+ - "true"+ - "false"+ default: "true"+ - name: DEV_ROOT_TOKEN+ description: Development root token+ type: password+ generate: password++ports:+ - port: 8200+ protocol: tcp+ description: HTTP API and UI++volumes:+ - name: data+ path: /vault/data+ description: Vault data+ - name: logs+ path: /vault/logs+ description: Vault logs++compose:+ services:+ vault:+ image: hashicorp/vault:${VERSION:-1.15}+ container_name: ${APP_NAME}+ restart: unless-stopped+ cap_add:+ - IPC_LOCK+ environment:+ - VAULT_DEV_ROOT_TOKEN_ID=${DEV_ROOT_TOKEN}+ - VAULT_DEV_LISTEN_ADDRESS=0.0.0.0:8200+ volumes:+ - vault_data:/vault/data+ - vault_logs:/vault/logs+ ports:+ - "${HTTP_PORT}:8200"++ volumes:+ vault_data:+ vault_logs:diff --git a/backend/templates/vaultwarden.yaml b/backend/templates/vaultwarden.yamlnew file mode 100644index 00000000..682e0411--- /dev/null+++ b/backend/templates/vaultwarden.yaml@@ -0,0 +1,55 @@+id: vaultwarden+name: Vaultwarden+version: "1.30"+description: Lightweight Bitwarden-compatible password manager server+icon: https://raw.githubusercontent.com/dani-garcia/vaultwarden/main/resources/vaultwarden-icon.svg+website: https://github.com/dani-garcia/vaultwarden+documentation: https://github.com/dani-garcia/vaultwarden/wiki+categories:+ - security+ - passwords+ - privacy++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "8080"+ - name: ADMIN_TOKEN+ description: Admin panel token+ type: password+ generate: password+ - name: SIGNUPS_ALLOWED+ description: Allow new user signups+ options:+ - "true"+ - "false"+ default: "true"++ports:+ - port: 8080+ protocol: tcp+ description: Web interface++volumes:+ - name: data+ path: /data+ description: Vaultwarden data++compose:+ services:+ vaultwarden:+ image: vaultwarden/server:${VERSION:-1.30.1}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - ADMIN_TOKEN=${ADMIN_TOKEN}+ - SIGNUPS_ALLOWED=${SIGNUPS_ALLOWED}+ - WEBSOCKET_ENABLED=true+ volumes:+ - vaultwarden_data:/data+ ports:+ - "${HTTP_PORT}:80"++ volumes:+ vaultwarden_data:diff --git a/backend/templates/wikijs.yaml b/backend/templates/wikijs.yamlnew file mode 100644index 00000000..f66d1db3--- /dev/null+++ b/backend/templates/wikijs.yaml@@ -0,0 +1,66 @@+id: wikijs+name: Wiki.js+version: "2.5"+description: Modern and powerful wiki app built on Node.js+icon: https://js.wiki/img/logo.svg+website: https://js.wiki+documentation: https://docs.requarks.io+categories:+ - productivity+ - wiki+ - documentation++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "3000"+ - name: DB_PASSWORD+ description: PostgreSQL password+ type: password+ generate: password++ports:+ - port: 3000+ protocol: tcp+ description: Web interface++volumes:+ - name: data+ path: /wiki/data+ description: Wiki.js data++compose:+ services:+ wikijs:+ image: ghcr.io/requarks/wiki:${VERSION:-2.5}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - DB_TYPE=postgres+ - DB_HOST=db+ - DB_PORT=5432+ - DB_USER=wikijs+ - DB_PASS=${DB_PASSWORD}+ - DB_NAME=wikijs+ volumes:+ - wikijs_data:/wiki/data+ ports:+ - "${HTTP_PORT}:3000"+ depends_on:+ - db++ db:+ image: postgres:15-alpine+ container_name: ${APP_NAME}-db+ restart: unless-stopped+ environment:+ - POSTGRES_USER=wikijs+ - POSTGRES_PASSWORD=${DB_PASSWORD}+ - POSTGRES_DB=wikijs+ volumes:+ - wikijs_db:/var/lib/postgresql/data++ volumes:+ wikijs_data:+ wikijs_db:diff --git a/backend/templates/wordpress.yaml b/backend/templates/wordpress.yamlnew file mode 100644index 00000000..18d21932--- /dev/null+++ b/backend/templates/wordpress.yaml@@ -0,0 +1,72 @@+id: wordpress+name: WordPress+version: "6.4"+description: World's most popular content management system for blogs and websites+icon: https://s.w.org/style/images/about/WordPress-logotype-wmark.png+website: https://wordpress.org+documentation: https://wordpress.org/documentation/+categories:+ - cms+ - blog+ - website++variables:+ - name: HTTP_PORT+ description: HTTP port+ type: port+ default: "8080"+ - name: DB_PASSWORD+ description: MySQL root password+ type: password+ generate: password+ - name: WP_DB_PASSWORD+ description: WordPress database password+ type: password+ generate: password++ports:+ - port: 8080+ protocol: tcp+ description: Web interface++volumes:+ - name: html+ path: /var/www/html+ description: WordPress files+ - name: db+ path: /var/lib/mysql+ description: MySQL data++compose:+ services:+ wordpress:+ image: wordpress:${VERSION:-6.4-apache}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - WORDPRESS_DB_HOST=db+ - WORDPRESS_DB_USER=wordpress+ - WORDPRESS_DB_PASSWORD=${WP_DB_PASSWORD}+ - WORDPRESS_DB_NAME=wordpress+ volumes:+ - wordpress_html:/var/www/html+ ports:+ - "${HTTP_PORT}:80"+ depends_on:+ - db++ db:+ image: mysql:8.0+ container_name: ${APP_NAME}-db+ restart: unless-stopped+ environment:+ - MYSQL_ROOT_PASSWORD=${DB_PASSWORD}+ - MYSQL_DATABASE=wordpress+ - MYSQL_USER=wordpress+ - MYSQL_PASSWORD=${WP_DB_PASSWORD}+ volumes:+ - wordpress_db:/var/lib/mysql++ volumes:+ wordpress_html:+ wordpress_db:diff --git a/backend/templates/zigbee2mqtt.yaml b/backend/templates/zigbee2mqtt.yamlnew file mode 100644index 00000000..a2701965--- /dev/null+++ b/backend/templates/zigbee2mqtt.yaml@@ -0,0 +1,68 @@+id: zigbee2mqtt+name: Zigbee2MQTT+version: "1.35"+description: Bridge Zigbee devices to MQTT without proprietary bridges or gateways+icon: https://www.zigbee2mqtt.io/logo.png+website: https://www.zigbee2mqtt.io+documentation: https://www.zigbee2mqtt.io/guide/getting-started/+categories:+ - home-automation+ - iot+ - zigbee++variables:+ - name: HTTP_PORT+ description: HTTP port for web UI+ type: port+ default: "8080"+ - name: MQTT_SERVER+ description: MQTT server URL+ default: mqtt://mosquitto+ required: true+ - name: SERIAL_PORT+ description: Zigbee adapter serial port+ default: /dev/ttyUSB0+ required: true++ports:+ - port: 8080+ protocol: tcp+ description: Web interface++volumes:+ - name: data+ path: /app/data+ description: Zigbee2MQTT data++compose:+ services:+ zigbee2mqtt:+ image: koenkk/zigbee2mqtt:${VERSION:-1.35.0}+ container_name: ${APP_NAME}+ restart: unless-stopped+ environment:+ - TZ=UTC+ volumes:+ - zigbee2mqtt_data:/app/data+ - /run/udev:/run/udev:ro+ devices:+ - ${SERIAL_PORT}:/dev/ttyUSB0+ ports:+ - "${HTTP_PORT}:8080"++ volumes:+ zigbee2mqtt_data:++post_install: |+ # Create configuration+ cat > /var/serverkit/apps/${APP_NAME}/data/configuration.yaml << 'EOF'+ homeassistant: true+ permit_join: false+ mqtt:+ base_topic: zigbee2mqtt+ server: ${MQTT_SERVER}+ serial:+ port: /dev/ttyUSB0+ frontend:+ port: 8080+ EOF