Closed whizzzkid closed 2 years ago
Hi,
That is because you are not using the -f
flag. This flag basically accepts the question with a yes
. Maybe I should rename the -f
to -y
. Because docker compose does not present a interactive prompt, you cannot accept the question, thus resulting in an EOF error.
Also, if you use radarr and excludarr in a docker-compose file, I suggest using a healthcheck on radarr and only start excludarr when radarr is fully ready. An example below (not fully working because the environment variables are not properly set and synced with radarr):
---
version: "2.1"
services:
radarr:
image: linuxserver/radarr
container_name: radarr
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Amsterdam
ports:
- 7878:7878
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7878"]
interval: 5s
timeout: 5s
retries: 5
excludarr:
image: haijeploeg/excludarr:latest
container_name: excludarr
restart: on-failure
command: exclude -a delete -f
links:
- radarr
depends_on:
radarr:
condition: service_healthy
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
- GENERAL_COUNTRY=CA
- GENERAL_PROVIDERS="netflix, amazon prime video"
- TMDB_API_KEY=${TMDB_API_KEY}
- RADARR_URL=http://radarr:7878
- RADARR_API_KEY=${RADARR_API_KEY}
- RADARR_VERIFY_SSL=false
Hope this helps :)
@haijeploeg that worked, however I'm not sure if this is actually working. will need to play more with it.
I was planning to run this on my synology-nas, but I am facing this issue:
here is my
docker-compose.yaml
entry:I am not sure what's causing the error. Also, is there a
-y
flag to accept this in the command?