Add AeroFoil service configuration and environment variables
This commit is contained in:
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
|
||||
|
||||
# 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
|
||||
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
|
||||
Reference in New Issue
Block a user