diff --git a/README.md b/README.md index c6dc6ef..683877f 100644 --- a/README.md +++ b/README.md @@ -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. +### 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/`) - **Calibre** - Ebook library management system. Organizes, converts, and manages your ebook collection. diff --git a/komodo/media-server/aerofoil/.env.sample b/komodo/media-server/aerofoil/.env.sample new file mode 100644 index 0000000..a887959 --- /dev/null +++ b/komodo/media-server/aerofoil/.env.sample @@ -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 + +# Host folders for config and app data +AEROFOIL_CONFIG_HOST_PATH=./config +AEROFOIL_DATA_HOST_PATH=./data + +# Host folder used as temporary staging for NSP/XCI conversion +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 diff --git a/komodo/media-server/aerofoil/compose.yaml b/komodo/media-server/aerofoil/compose.yaml new file mode 100644 index 0000000..9336eb1 --- /dev/null +++ b/komodo/media-server/aerofoil/compose.yaml @@ -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 \ No newline at end of file