From 6129bee98cc1e17665f9730fe4929c18ba5a3df7 Mon Sep 17 00:00:00 2001 From: Kamil Date: Tue, 10 Dec 2024 12:27:18 +0000 Subject: [PATCH] pinned postgres to 17.2 --- changelogs/0.1.9.md | 86 +++++++++++++++++++++++++++++++++++++++++++++ readme.md | 2 +- 2 files changed, 87 insertions(+), 1 deletion(-) create mode 100644 changelogs/0.1.9.md diff --git a/changelogs/0.1.9.md b/changelogs/0.1.9.md new file mode 100644 index 0000000..ce4aca9 --- /dev/null +++ b/changelogs/0.1.9.md @@ -0,0 +1,86 @@ +# Whats up in Jellyplist 0.1.9? +## ⚠️ BREAKING CHANGE: docker-compose.yml +>![WARNING] +>In this release I´ve done some rework so now the setup is a bit easier, because you don´t have to spin up the -worker -beat container, these are now all in the default container and managed via supervisor. This means you have to update your `docker-compose.yml` when updating! + +So now your compose file should look more or less like this + +```yaml +services: + redis: + image: redis:7-alpine + container_name: redis + volumes: + - redis_data:/data + networks: + - jellyplist-network + postgres: + container_name: postgres-jellyplist + image: postgres:17.2 + environment: + POSTGRES_USER: ${POSTGRES_USER} + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} + PGDATA: /data/postgres + volumes: + - /jellyplist_pgdata/postgres:/data/postgres + networks: + - jellyplist-network + restart: unless-stopped + + jellyplist: + container_name: jellyplist + image: ${IMAGE} + depends_on: + - postgres + - redis + ports: + - "5055:5055" + networks: + - jellyplist-network + volumes: + - /jellyplist/cookies.txt:/jellyplist/cookies.txt + - /jellyplist/open.spotify.com_cookies.txt:/jellyplist/spotify-cookie.txt + - ${MUSIC_STORAGE_BASE_PATH}:${MUSIC_STORAGE_BASE_PATH} + env_file: + - .env + +networks: + jellyplist-network: + driver: bridge + +volumes: + postgres: + redis_data: +``` +And the `.env` File +```env +IMAGE = ghcr.io/kamilkosek/jellyplist:latest +POSTGRES_USER = jellyplist +POSTGRES_PASSWORD = jellyplist +SECRET_KEY = supersecretkey # Secret key for session management +JELLYFIN_SERVER_URL = http://:8096 # Default to local Jellyfin server +JELLYFIN_ACCESS_TOKEN = +JELLYFIN_ADMIN_USER = +JELLYFIN_ADMIN_PASSWORD = +SPOTIFY_CLIENT_ID = +SPOTIFY_CLIENT_SECRET = +JELLYPLIST_DB_HOST = postgres-jellyplist +JELLYPLIST_DB_USER = jellyplist +JELLYPLIST_DB_PASSWORD = jellyplist +LOG_LEVEL = INFO +LIDARR_API_KEY = +LIDARR_URL = http://:8686 +LIDARR_MONITOR_ARTISTS = false +SPOTIFY_COOKIE_FILE = '/jellyplist/spotify-cookie.txt' +MUSIC_STORAGE_BASE_PATH = '/storage/media/music' + +``` +### 🆕 Log Viewer +Under the `Admin` Page there is now a tab called `Logs` from where you can view the current logs, change the log-level on demand and copy a prepared markdown snippet ready to be pasted into a GitHub issue. + + +### Other changes, improvements and fixes +- Fix for #38 and #22 , where the manual task starting was missing a return value +- Fixed an issue where the content-type of a playlist cover image, would cause the Jellyfin API Client to fail. Thanks @artyorsh +- Fixed missing lock keys to task manager and task status rendering +- Pinned postgres version to 17.2 diff --git a/readme.md b/readme.md index e164e99..5b6d902 100644 --- a/readme.md +++ b/readme.md @@ -74,7 +74,7 @@ services: - jellyplist-network postgres: container_name: postgres-jellyplist - image: postgres + image: postgres:17.2 environment: POSTGRES_USER: ${POSTGRES_USER} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}