services: psp-preserve: build: . container_name: psp-preserve # Attach to Unraid's macvlan bridge so the API gets its own LAN IP. # Plain HTTP for now; see Caddyfile to add Let's Encrypt TLS later. networks: br0: ipv4_address: 192.168.10.100 environment: PSP_DATA_DIR: /data PSP_DATS_DIR: /data/dats PSP_DB_PATH: /data/library.sqlite PSP_COVERS_DIR: /data/covers PSP_GAMES_ROOTS: /data/umd_games PSP_VIDEO_ROOTS: /data/umd_videos PSP_STORE_DIR: /data/store # Secret token the desktop app sends as `Authorization: Bearer `. # Set via a .env file next to this compose file. PSP_API_TOKEN: ${PSP_API_TOKEN:-} volumes: - ./data:/data # Adjust host paths to your Unraid share layout: - /mnt/user/downloads/Sony - PlayStation Portable:/data/store:ro - /mnt/user/psp/umd_games:/data/umd_games:ro - /mnt/user/psp/umd_videos:/data/umd_videos:ro restart: unless-stopped networks: br0: external: true name: br0