diff --git a/.env b/.env new file mode 100644 index 0000000..399a6a3 --- /dev/null +++ b/.env @@ -0,0 +1,18 @@ +# Docker Compose environment variables + +# Redis connection (external or internal) +REDIS_HOST=redis +REDIS_PORT=6379 +REDIS_DB=0 +REDIS_PASSWORD=CHANGE_ME + +# Optional: Redis connection details +EXPLICIT_FILTER=false + +# User ID for the container +PUID=1000 +# Group ID for the container +PGID=1000 +# Optional: Sets the default file permissions for newly created files within the container. +UMASK=0022 + diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 53949bc..becd72a 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -1,14 +1,8 @@ name: Build and Push Docker Image on: - push: - # Trigger on all branches and tags; you can later refine this logic if needed - branches: [ '**' ] - tags: [ '**' ] - pull_request: - branches: [ '**' ] release: - types: [ published, released ] + types: [ published ] workflow_dispatch: jobs: diff --git a/README.md b/README.md index cda73e9..93fa211 100755 --- a/README.md +++ b/README.md @@ -167,7 +167,7 @@ In order for searching to work, you need to set up your own Spotify Developer ap 4. Fill in: - App name (e.g., "My Spotizerr App") - App description - - Redirect URI: `http://localhost:7171/callback` (or your custom domain if exposed) + - Redirect URI: `http://127.0.0.1:7171/callback` (or your custom domain if exposed) - Check the Developer Terms agreement box 5. Click "Create" 6. On your app page, note your "Client ID" @@ -250,7 +250,6 @@ EXPLICIT_FILTER=false # Filter explicit content PUID=1000 # Container user ID PGID=1000 # Container group ID UMASK=0022 # Default file permission mask -SPOTIPY_CACHE_PATH=/app/cache/.cache # Spotify token cache path ``` ## Troubleshooting