Normalize quoting and whitespace in compose files
Standardize formatting across multiple docker-compose.yml files: convert single quotes to double quotes for ports/args, fix inconsistent newlines at EOF, remove trailing spaces and stray blank lines, and tidy comments. Reformat ListSync healthcheck into a YAML sequence for clarity. Remove the obsolete Immich/docker-compose.yml.old file. These are non-functional cleanup changes to improve consistency and readability.
This commit is contained in:
@@ -3,22 +3,22 @@ services:
|
||||
image: ghcr.io/woahai321/list-sync:main
|
||||
container_name: listsync-full
|
||||
ports:
|
||||
# Frontend (Next.js Dashboard)
|
||||
# Frontend (Next.js Dashboard)
|
||||
- "3222:3222"
|
||||
# Backend API (FastAPI)
|
||||
- "4222:4222"
|
||||
environment:
|
||||
# Timezone Configuration (set to Europe/London for BST/GMT, change as needed)
|
||||
- TZ=${TZ:-GMT}
|
||||
|
||||
# Overseerr Configuration
|
||||
|
||||
# Overseerr Configuration
|
||||
- OVERSEERR_URL=${OVERSEERR_URL}
|
||||
- OVERSEERR_API_KEY=${OVERSEERR_API_KEY}
|
||||
- OVERSEERR_USER_ID=${OVERSEERR_USER_ID:-1}
|
||||
- SYNC_INTERVAL=${SYNC_INTERVAL:-24}
|
||||
- AUTOMATED_MODE=true
|
||||
- OVERSEERR_4K=${OVERSEERR_4K:-false}
|
||||
|
||||
|
||||
# List Configuration (comma-separated)
|
||||
- IMDB_LISTS=${IMDB_LISTS}
|
||||
- TRAKT_LISTS=${TRAKT_LISTS}
|
||||
@@ -26,14 +26,14 @@ services:
|
||||
- MDBLIST_LISTS=${MDBLIST_LISTS}
|
||||
- STEVENLU_LISTS=${STEVENLU_LISTS}
|
||||
- TRAKT_SPECIAL_LISTS=${TRAKT_SPECIAL_LISTS}
|
||||
- TRAKT_SPECIAL_ITEMS_LIMIT=${TRAKT_SPECIAL_ITEMS_LIMIT}
|
||||
- TRAKT_SPECIAL_ITEMS_LIMIT=${TRAKT_SPECIAL_ITEMS_LIMIT}
|
||||
|
||||
# Optional Discord webhook
|
||||
- DISCORD_WEBHOOK_URL=${DISCORD_WEBHOOK_URL}
|
||||
|
||||
|
||||
# Internal API URL for frontend
|
||||
- NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL:-http://0.0.0.0:4222/api}
|
||||
|
||||
|
||||
# Docker-specific settings
|
||||
- RUNNING_IN_DOCKER=true
|
||||
- NO_SANDBOX=1
|
||||
@@ -45,9 +45,19 @@ services:
|
||||
- C:\Docker\Compose\ListSync\.env:/usr/src/app/.env
|
||||
# Optional: Mount logs for debugging
|
||||
- C:\Docker\AppData\listsync\logs:/var/log/supervisor
|
||||
restart: unless-stopped
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:4222/api/system/health", "&&", "curl", "-f", "http://localhost:3222"]
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"curl",
|
||||
"-f",
|
||||
"http://localhost:4222/api/system/health",
|
||||
"&&",
|
||||
"curl",
|
||||
"-f",
|
||||
"http://localhost:3222",
|
||||
]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
@@ -56,4 +66,4 @@ services:
|
||||
# - Core sync service (python -m list_sync)
|
||||
# - FastAPI backend (port 4222)
|
||||
# - Next.js frontend (port 3222)
|
||||
# All managed by supervisor for reliability
|
||||
# All managed by supervisor for reliability
|
||||
|
||||
Reference in New Issue
Block a user