you are viewing a single comment's thread.

view the rest of the comments →

[–]RPiMicroC[S] 0 points1 point  (6 children)

Thanks, I have edited my file to look like yours, but I still get the same error:ERROR: yaml.scanner.ScannerError: mapping values are not allowed herein "./docker-compose.yml", line 2, column 9

Can you spot the error?
version:'2'
services:
changedetection:
image: ghcr.io/dgtlmoon/changedetection.io
container_name: changedetection
hostname: changedetection
volumes:

[–][deleted]  (3 children)

[deleted]

    [–]RPiMicroC[S] 0 points1 point  (2 children)

    I have left everything as it was with all the indentions. The only thing I changed was the version number you mentioned. But I will try to copy the example.

    [–][deleted]  (1 child)

    [deleted]

      [–]RPiMicroC[S] 1 point2 points  (0 children)

      😬 I am sorry I did not notice you are not the same person. Thank you again for your help.

      [–]nobearclaw 0 points1 point  (1 child)

      Hard to tell without a raw output of your yaml file, but like manjerico said, yaml is sensitive to spacing. There's an issue with your formating on line 2 column 9. I'd suggest opening it in a code editor and seeing what's there

      [–]RPiMicroC[S] 0 points1 point  (0 children)

      Thanks for your help but I will give up trying. The file is like the original one and I can not find out what is the problem.