From 68e1499532dda1b45eca81403f638b3d2015fd30 Mon Sep 17 00:00:00 2001 From: Cliff Hill Date: Wed, 29 Oct 2025 21:16:09 -0400 Subject: [PATCH] Little fixes for hopefully more successes. Signed-off-by: Cliff Hill --- .pre-commit-config.yaml | 1 + Dockerfile.cicd | 2 +- compose.yml | 4 +++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dcac8ba..41c5c75 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,4 @@ +--- repos: # General hooks for all files - repo: https://github.com/pre-commit/pre-commit-hooks diff --git a/Dockerfile.cicd b/Dockerfile.cicd index c9b28a4..60d9f45 100644 --- a/Dockerfile.cicd +++ b/Dockerfile.cicd @@ -170,7 +170,7 @@ RUN export NODE_OPTIONS="--max-old-space-size=1024 --max-semi-space-size=64" && echo "Attempt $i: Installing frontend dependencies (Pi 400 compatible)..." && \ timeout 2400 yarn install --immutable --mode=skip-build \ && break || \ - (echo "Attempt $i failed, cleaning up and retrying..." && \ + (echo "Attempt $i failed, cleaning up and retrying..." && \ rm -rf node_modules .yarn/cache .yarn/install-state.gz && \ yarn cache clean --all 2>/dev/null || true && \ sleep 60); \ diff --git a/compose.yml b/compose.yml index 36a0fca..6b39d0b 100644 --- a/compose.yml +++ b/compose.yml @@ -1,3 +1,4 @@ +--- services: database: image: postgres:16-alpine @@ -20,7 +21,8 @@ services: context: . dockerfile: Dockerfile.backend environment: - DATABASE_URL: postgresql://plex_user:plex_password@database:5432/plex_playlist + DATABASE_URL: >- + postgresql://plex_user:plex_password@database:5432/plex_playlist ENVIRONMENT: production ports: - "8000:8000"