shouya / rss-funnel

Self-hosted RSS multi-tool
https://rss-funnel-demo.fly.dev
GNU General Public License v3.0
108 stars 4 forks source link

Error on docker compose #101

Closed JoseVacas closed 5 months ago

JoseVacas commented 5 months ago

Hi. When a lunch docker compose up with the example docker-compose.yaml

version: "3.8"
services:
  rss-funnel:
    image: ghcr.io/shouya/rss-funnel:latest
    ports:
      - 4080:4080
    volumes:
      - ./funnel.yaml:/funnel.yaml
    environment:
      RSS_FUNNEL_CONFIG: /funnel.yaml
      RSS_FUNNEL_BIND: 0.0.0.0:4080

✔ Network rss-funnel_default Created 0.1s ✔ Container rss-funnel-rss-funnel-1 Created 0.0s Attaching to rss-funnel-1 rss-funnel-1 | Error: Config(Yaml(Error("Is a directory (os error 21)"))) rss-funnel-1 exited with code 1

I get this error. Whats can I do?

shouya commented 5 months ago

The error indicates the funnel.yaml file is a directory. Please check the file name and confirm the content of the config file is valid.

JoseVacas commented 5 months ago

When I run docker-compose up, it creates funnel.yaml as a directory instead of a file. I changed it to be a file, but it didn't work.

JoseVacas commented 5 months ago

Solved. You can't run docker-compose up without funnel.yaml file. By default, it creates it as a directory.

shouya commented 5 months ago

Yup! I'm glad it worked :)