Compare commits
17 Commits
a9ef3bd533
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e7f8eff89c | ||
|
|
7811233eb8 | ||
|
|
21373e1663 | ||
|
|
04e5f6cf22 | ||
|
|
77b1ce94a4 | ||
|
|
b6e2fb0b0a | ||
|
|
a2e1550a86 | ||
|
|
e22d832b2a | ||
|
|
cfb8255769 | ||
|
|
752bb56540 | ||
| 78ea66c9e8 | |||
|
|
a926909435 | ||
|
|
128d3d8185 | ||
|
|
57dcc96726 | ||
|
|
303baa6d8a | ||
|
|
316bc43750 | ||
|
|
c2b6eec95e |
@@ -82,6 +82,12 @@ Media server applications for organizing and streaming your media library.
|
|||||||
|
|
||||||
**Configuration:** Requires database credentials, user/group IDs, and application port configuration.
|
**Configuration:** Requires database credentials, user/group IDs, and application port configuration.
|
||||||
|
|
||||||
|
### aerofoil/ (`komodo/media-server/aerofoil/`)
|
||||||
|
|
||||||
|
- **AeroFoil** (Port: 8465) - Self-hosted Nintendo Switch homebrew/game library and remote (Tinfoil-compatible shop).
|
||||||
|
|
||||||
|
**Configuration:** Requires a games library path. User/group IDs and optional admin/guest accounts configurable via environment variables.
|
||||||
|
|
||||||
### deprecated/calibre/ (`komodo/media-server/deprecated/calibre/`)
|
### deprecated/calibre/ (`komodo/media-server/deprecated/calibre/`)
|
||||||
|
|
||||||
- **Calibre** - Ebook library management system. Organizes, converts, and manages your ebook collection.
|
- **Calibre** - Ebook library management system. Organizes, converts, and manages your ebook collection.
|
||||||
|
|||||||
5
komodo/automate/netbootxyz/.env.sample
Normal file
5
komodo/automate/netbootxyz/.env.sample
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
NETBOOTXYZ_UI_PORT=3001
|
||||||
|
NETBOOTXYZ_HTTP_PORT=8081
|
||||||
|
NETBOOTXYZ_TFTP_PORT=69
|
||||||
|
NETBOOTXYZ_CONFIG_PATH=./config
|
||||||
|
NETBOOTXYZ_ASSETS_PATH=./assets
|
||||||
12
komodo/automate/netbootxyz/compose.yaml
Normal file
12
komodo/automate/netbootxyz/compose.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
services:
|
||||||
|
netbootxyz:
|
||||||
|
image: ghcr.io/netbootxyz/netbootxyz:latest
|
||||||
|
container_name: netbootxyz
|
||||||
|
ports:
|
||||||
|
- "${NETBOOTXYZ_UI_PORT}:3000"
|
||||||
|
- "${NETBOOTXYZ_HTTP_PORT}:80"
|
||||||
|
- "${NETBOOTXYZ_TFTP_PORT}:69/udp"
|
||||||
|
volumes:
|
||||||
|
- "${NETBOOTXYZ_CONFIG_PATH}:/config"
|
||||||
|
- "${NETBOOTXYZ_ASSETS_PATH}:/assets"
|
||||||
|
restart: unless-stopped
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
services:
|
services:
|
||||||
newt:
|
newt:
|
||||||
image: fosrl/newt
|
image: fosrl/pangolin-cli:latest
|
||||||
container_name: newt
|
container_name: pangolin-site
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- PANGOLIN_ENDPOINT=${PANGOLIN_ENDPOINT}
|
- PANGOLIN_ENDPOINT=${PANGOLIN_ENDPOINT}
|
||||||
- NEWT_ID=${NEWT_ID}
|
- SITE_ID=${NEWT_ID}
|
||||||
- NEWT_SECRET=${NEWT_SECRET}
|
- SITE_SECRET=${NEWT_SECRET}
|
||||||
@@ -33,4 +33,5 @@ services:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres_data:
|
postgres_data:
|
||||||
adventurelog_media:
|
adventurelog_media:
|
||||||
|
|
||||||
|
|||||||
33
komodo/general-purpose/opengym/.env.sample
Normal file
33
komodo/general-purpose/opengym/.env.sample
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
# openGym - self-hosted gym & body-weight tracker
|
||||||
|
# https://github.com/DuarteSantos8/openGym
|
||||||
|
|
||||||
|
# Passkeys are bound to the exact hostname and require HTTPS (localhost excepted).
|
||||||
|
# Point your reverse proxy at WEB_PORT and set these to the public domain.
|
||||||
|
RP_ID=gym.yourdomain.com
|
||||||
|
ORIGIN=https://gym.yourdomain.com
|
||||||
|
RP_NAME=openGym
|
||||||
|
|
||||||
|
# Host port for the web UI
|
||||||
|
WEB_PORT=8095
|
||||||
|
|
||||||
|
# Host path for app data (users, passkeys, session secret, uploads)
|
||||||
|
DATA_PATH=./data
|
||||||
|
|
||||||
|
# First profile created becomes admin (1/0)
|
||||||
|
FIRST_USER_ADMIN=1
|
||||||
|
# Comma-separated user IDs to grant admin (optional)
|
||||||
|
ADMIN_UIDS=
|
||||||
|
|
||||||
|
# Signup / login options (1/0)
|
||||||
|
INVITE_ONLY=0
|
||||||
|
ALLOW_GUEST=0
|
||||||
|
PASSWORD_LOGIN=0
|
||||||
|
|
||||||
|
# Trust X-Forwarded-For from the web container (leave at 1)
|
||||||
|
TRUST_PROXY=1
|
||||||
|
|
||||||
|
# Cloudflare Tunnel users: set to '$http_cf_connecting_ip' (single quotes included)
|
||||||
|
CF_CONNECTING_IP=
|
||||||
|
|
||||||
|
# Push notification contact (optional), e.g. mailto:you@example.com
|
||||||
|
VAPID_SUBJECT=
|
||||||
36
komodo/general-purpose/opengym/compose.yaml
Normal file
36
komodo/general-purpose/opengym/compose.yaml
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
services:
|
||||||
|
# Passkey auth + per-user data (Node API, stores JSON under ./data)
|
||||||
|
api:
|
||||||
|
image: ghcr.io/duartesantos8/opengym-api:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
PORT: 3000
|
||||||
|
DATA_DIR: /data
|
||||||
|
TRUST_PROXY: ${TRUST_PROXY:-1}
|
||||||
|
RP_ID: ${RP_ID:?Variable is required and must be set}
|
||||||
|
ORIGIN: ${ORIGIN:?Variable is required and must be set}
|
||||||
|
RP_NAME: ${RP_NAME:-openGym}
|
||||||
|
FIRST_USER_ADMIN: ${FIRST_USER_ADMIN:-1}
|
||||||
|
ADMIN_UIDS: ${ADMIN_UIDS:-}
|
||||||
|
INVITE_ONLY: ${INVITE_ONLY:-0}
|
||||||
|
ALLOW_GUEST: ${ALLOW_GUEST:-0}
|
||||||
|
PASSWORD_LOGIN: ${PASSWORD_LOGIN:-0}
|
||||||
|
VAPID_SUBJECT: ${VAPID_SUBJECT:-}
|
||||||
|
volumes:
|
||||||
|
- ${DATA_PATH:-./data}:/data # users, passkeys, session secret, uploads - BACK THIS UP
|
||||||
|
|
||||||
|
# React frontend served by nginx, proxies /api -> api (single origin for passkeys)
|
||||||
|
web:
|
||||||
|
image: ghcr.io/duartesantos8/opengym-web:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
- api
|
||||||
|
ports:
|
||||||
|
- "${WEB_PORT:-8095}:80"
|
||||||
|
environment:
|
||||||
|
NGINX_PORT: 80
|
||||||
|
BACKEND: api
|
||||||
|
PORT: 3000
|
||||||
|
RESOLVER: 127.0.0.11
|
||||||
|
CF_CONNECTING_IP: ${CF_CONNECTING_IP:-}
|
||||||
|
MEDIA_UPLOAD_MAX: ${MEDIA_UPLOAD_MAX:-48m}
|
||||||
34
komodo/media-server/aerofoil/.env.sample
Normal file
34
komodo/media-server/aerofoil/.env.sample
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
# AeroFoil - self-hosted Nintendo Switch homebrew/game library and remote
|
||||||
|
# https://github.com/luketanti/AeroFoil
|
||||||
|
|
||||||
|
# App publish port on host
|
||||||
|
AEROFOIL_PORT=8465
|
||||||
|
|
||||||
|
# Host folder containing your game library (NSP/XCI/etc). Required.
|
||||||
|
# Use an absolute path on NAS/Portainer installs.
|
||||||
|
AEROFOIL_GAMES_HOST_PATH=/mnt/media/games
|
||||||
|
|
||||||
|
# Config, data, and conversion-tmp storage. Leave unset to use Docker-managed
|
||||||
|
# named volumes (aerofoil_config / aerofoil_data / aerofoil_conversion_tmp),
|
||||||
|
# or set to a host path to bind-mount instead.
|
||||||
|
# AEROFOIL_CONFIG_HOST_PATH=./config
|
||||||
|
# AEROFOIL_DATA_HOST_PATH=./data
|
||||||
|
# AEROFOIL_CONVERSION_TMP_HOST_PATH=./conversion-tmp
|
||||||
|
|
||||||
|
# Container runtime UID/GID for write permission in the config directory
|
||||||
|
PUID=1000
|
||||||
|
PGID=100
|
||||||
|
|
||||||
|
# --- Optional overrides (uncomment to set) ---
|
||||||
|
|
||||||
|
# Create/update an admin user at startup
|
||||||
|
# USER_ADMIN_NAME=admin
|
||||||
|
# USER_ADMIN_PASSWORD=your_secure_admin_password
|
||||||
|
|
||||||
|
# Create/update a regular (guest) user at startup
|
||||||
|
# USER_GUEST_NAME=guest
|
||||||
|
# USER_GUEST_PASSWORD=your_secure_guest_password
|
||||||
|
|
||||||
|
# Cache TTLs in seconds. Use 'none' for rebuild-only (no time-based expiry).
|
||||||
|
# SHOP_SECTIONS_CACHE_TTL_S=none
|
||||||
|
# MEDIA_INDEX_TTL_S=none
|
||||||
31
komodo/media-server/aerofoil/compose.yaml
Normal file
31
komodo/media-server/aerofoil/compose.yaml
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
name: aerofoil
|
||||||
|
|
||||||
|
services:
|
||||||
|
aerofoil:
|
||||||
|
container_name: aerofoil
|
||||||
|
image: luketanti/aerofoil:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- PUID=${PUID:-1000}
|
||||||
|
- PGID=${PGID:-1000}
|
||||||
|
- USER_ADMIN_NAME=${USER_ADMIN_NAME:-}
|
||||||
|
- USER_ADMIN_PASSWORD=${USER_ADMIN_PASSWORD:-}
|
||||||
|
- USER_GUEST_NAME=${USER_GUEST_NAME:-}
|
||||||
|
- USER_GUEST_PASSWORD=${USER_GUEST_PASSWORD:-}
|
||||||
|
- SHOP_SECTIONS_CACHE_TTL_S=${SHOP_SECTIONS_CACHE_TTL_S:-}
|
||||||
|
- MEDIA_INDEX_TTL_S=${MEDIA_INDEX_TTL_S:-}
|
||||||
|
ports:
|
||||||
|
- "${AEROFOIL_PORT:-8465}:8465"
|
||||||
|
volumes:
|
||||||
|
- ${AEROFOIL_GAMES_HOST_PATH:?required}:/games
|
||||||
|
- ${AEROFOIL_CONFIG_HOST_PATH:-aerofoil_config}:/app/config
|
||||||
|
- ${AEROFOIL_DATA_HOST_PATH:-aerofoil_data}:/app/data
|
||||||
|
- ${AEROFOIL_CONVERSION_TMP_HOST_PATH:-aerofoil_conversion_tmp}:/app/conversion-tmp
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
aerofoil_config:
|
||||||
|
name: aerofoil_config
|
||||||
|
aerofoil_data:
|
||||||
|
name: aerofoil_data
|
||||||
|
aerofoil_conversion_tmp:
|
||||||
|
name: aerofoil_conversion_tmp
|
||||||
69
komodo/media-server/bookorbit/.env.sample
Normal file
69
komodo/media-server/bookorbit/.env.sample
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
# Docker image to run. Pin a sha-* tag or @sha256 digest for stricter deploys.
|
||||||
|
APP_IMAGE=ghcr.io/bookorbit/bookorbit:latest
|
||||||
|
|
||||||
|
# App publish port on host
|
||||||
|
APP_PORT=3000
|
||||||
|
|
||||||
|
# Host folder that appears as /books in the container.
|
||||||
|
# Point this at your library root; use an absolute path on NAS/Portainer installs.
|
||||||
|
BOOKS_HOST_PATH=./books
|
||||||
|
BOOK_DOCK_HOST_PATH=./book-dock
|
||||||
|
|
||||||
|
# Container runtime UID/GID for files written to app-managed data folders.
|
||||||
|
PUID=1000
|
||||||
|
PGID=1000
|
||||||
|
|
||||||
|
# Database credentials
|
||||||
|
POSTGRES_USER=bookorbit
|
||||||
|
POSTGRES_PASSWORD=your_secure_bookorbit_db_password
|
||||||
|
POSTGRES_DB=bookorbit
|
||||||
|
|
||||||
|
# App secrets (generate with: openssl rand -hex 32 / openssl rand -hex 16)
|
||||||
|
JWT_SECRET=your_secure_jwt_secret
|
||||||
|
# Required for the initial /auth/setup endpoint (x-setup-token header)
|
||||||
|
SETUP_BOOTSTRAP_TOKEN=your_secure_setup_bootstrap_token
|
||||||
|
|
||||||
|
# External/public URL used by emails and Kobo endpoints
|
||||||
|
APP_URL=https://bookorbit.example.com
|
||||||
|
|
||||||
|
# Node.js JavaScript heap limit in MB. Raise this for very large libraries, 250K+ books.
|
||||||
|
NODE_MAX_OLD_SPACE_SIZE=2048
|
||||||
|
|
||||||
|
# --- Optional overrides (uncomment to set) ---
|
||||||
|
|
||||||
|
# If you already run your own PostgreSQL, set DATABASE_URL and remove the
|
||||||
|
# postgres service from compose.yaml. Your instance must have the
|
||||||
|
# uuid-ossp, pg_trgm, and vector (pgvector) extensions available.
|
||||||
|
# DATABASE_URL=postgres://user:password@yourhost:5432/bookorbit
|
||||||
|
# Or set individual parts instead: POSTGRES_HOST, POSTGRES_PORT
|
||||||
|
|
||||||
|
# CORS origin for the frontend when served from a different domain than APP_URL
|
||||||
|
# CLIENT_URL=https://app.example.com
|
||||||
|
|
||||||
|
# Container folder used as the top of the library creation folder picker.
|
||||||
|
# Defaults to / when unset. Set to /books to hide other container root folders.
|
||||||
|
# LIBRARY_BROWSE_ROOT=/books
|
||||||
|
|
||||||
|
# Set to false only if your platform manages bind mount ownership externally.
|
||||||
|
# BOOKORBIT_FIX_PERMISSIONS=true
|
||||||
|
|
||||||
|
# Recommended if you store SMTP provider credentials (generate: openssl rand -hex 32)
|
||||||
|
# EMAIL_ENCRYPTION_KEY=
|
||||||
|
|
||||||
|
# Recommended if you store migration source credentials (generate: openssl rand -hex 32)
|
||||||
|
# MIGRATION_ENCRYPTION_KEY=
|
||||||
|
|
||||||
|
# Absolute container path that authorizes local migration backup files.
|
||||||
|
# Mount a dedicated host directory at this path as read-only before enabling backup mode.
|
||||||
|
# MIGRATION_IMPORT_ROOT=/imports
|
||||||
|
|
||||||
|
# Log level (default: info). Set to debug for verbose output.
|
||||||
|
# LOG_LEVEL=info
|
||||||
|
|
||||||
|
# Allow OIDC issuer/discovery URLs that resolve to private/local addresses.
|
||||||
|
# Default false. Enable only in trusted self-hosted networks.
|
||||||
|
# OIDC_ALLOW_LOCAL_ISSUERS=false
|
||||||
|
|
||||||
|
# Optional: allow Cloudflare Web Analytics beacon when using automatic setup.
|
||||||
|
# Keep unset/false to preserve strict CSP (script-src 'self').
|
||||||
|
# CSP_ALLOW_CLOUDFLARE_INSIGHTS=false
|
||||||
90
komodo/media-server/bookorbit/compose.yaml
Normal file
90
komodo/media-server/bookorbit/compose.yaml
Normal file
@@ -0,0 +1,90 @@
|
|||||||
|
name: bookorbit
|
||||||
|
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
container_name: bookorbit-app
|
||||||
|
image: ${APP_IMAGE?required}
|
||||||
|
restart: unless-stopped
|
||||||
|
init: true
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
ports:
|
||||||
|
- "${APP_PORT:-3000}:${PORT:-3000}"
|
||||||
|
environment:
|
||||||
|
NODE_ENV: production
|
||||||
|
PORT: ${PORT:-3000}
|
||||||
|
DATABASE_URL: ${DATABASE_URL:-}
|
||||||
|
POSTGRES_HOST: ${POSTGRES_HOST:-postgres}
|
||||||
|
POSTGRES_PORT: ${POSTGRES_PORT:-5432}
|
||||||
|
POSTGRES_USER: ${POSTGRES_USER?required}
|
||||||
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD?required}
|
||||||
|
POSTGRES_DB: ${POSTGRES_DB?required}
|
||||||
|
JWT_SECRET: ${JWT_SECRET?required}
|
||||||
|
SETUP_BOOTSTRAP_TOKEN: ${SETUP_BOOTSTRAP_TOKEN?required}
|
||||||
|
APP_URL: ${APP_URL?required}
|
||||||
|
CLIENT_URL: ${CLIENT_URL:-${APP_URL?required}}
|
||||||
|
PUID: ${PUID:-1000}
|
||||||
|
PGID: ${PGID:-1000}
|
||||||
|
NODE_MAX_OLD_SPACE_SIZE: ${NODE_MAX_OLD_SPACE_SIZE:-auto}
|
||||||
|
BOOK_DOCK_PATH: ${BOOK_DOCK_PATH:-}
|
||||||
|
LIBRARY_BROWSE_ROOT: ${LIBRARY_BROWSE_ROOT:-}
|
||||||
|
TZ: ${TZ:-America/Toronto}
|
||||||
|
BOOK_REQUEST_ENCRYPTION_KEY: ${BOOK_REQUEST_ENCRYPTION_KEY:-}
|
||||||
|
depends_on:
|
||||||
|
postgres:
|
||||||
|
condition: service_healthy
|
||||||
|
volumes:
|
||||||
|
- ${BOOKS_HOST_PATH:-./books}:/books
|
||||||
|
- ${BOOK_DOCK_HOST_PATH:-./book-dock}:/book-dock
|
||||||
|
- bookorbit-data:/data
|
||||||
|
read_only: true
|
||||||
|
tmpfs:
|
||||||
|
- /tmp
|
||||||
|
cap_drop:
|
||||||
|
- ALL
|
||||||
|
cap_add:
|
||||||
|
- CHOWN
|
||||||
|
- DAC_OVERRIDE
|
||||||
|
- FOWNER
|
||||||
|
- SETGID
|
||||||
|
- SETUID
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
stop_grace_period: 30s
|
||||||
|
healthcheck:
|
||||||
|
test:
|
||||||
|
[
|
||||||
|
"CMD",
|
||||||
|
"node",
|
||||||
|
"-e",
|
||||||
|
"const p=process.env.PORT||3000;fetch('http://127.0.0.1:'+p+'/api/v1/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))",
|
||||||
|
]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 3
|
||||||
|
start_period: 20s
|
||||||
|
|
||||||
|
postgres:
|
||||||
|
container_name: bookorbit-db
|
||||||
|
image: pgvector/pgvector:pg18
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: ${POSTGRES_USER?required}
|
||||||
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD?required}
|
||||||
|
POSTGRES_DB: ${POSTGRES_DB?required}
|
||||||
|
PGDATA: /var/lib/postgresql/data/pgdata
|
||||||
|
volumes:
|
||||||
|
- postgres-data:/var/lib/postgresql/data
|
||||||
|
healthcheck:
|
||||||
|
test:
|
||||||
|
["CMD-SHELL", 'pg_isready -U "$${POSTGRES_USER}" -d "$${POSTGRES_DB}"']
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 10
|
||||||
|
start_period: 20s
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
bookorbit-data:
|
||||||
|
name: bookorbit-data
|
||||||
|
postgres-data:
|
||||||
|
name: bookorbit-postgres-data
|
||||||
Reference in New Issue
Block a user