docker-compose error service name mapping not a string

[root@Odin immich-app]# ls -la
total 12
drwxr-xr-x 2 root root 44 Aug 23 21:04 .
drwxr-xr-x. 4 root root 38 Aug 23 20:33 ..
-rw-r--r-- 1 root root 2800 Aug 22 00:46 docker-compose.yml
-rw-r--r-- 1 root root 996 Aug 23 20:42 .env
[root@Odin immich-app]# docker-compose up
ERROR: In file './docker-compose.yml', service 'name' must be a mapping not a string.
[root@Odin immich-app]#

I´ve only changed the few variables in .etc
Running an old fedora server.

Anyone know the cause or problem?
Was this page helpful?