neonwatty / meme_search

Index your memes by their content and text, making them easily retrievable for your meme warfare pleasures. Find funny fast.
https://memesearch.co/
Apache License 2.0
288 stars 9 forks source link

ERROR: The Compose file './compose.yaml' is invalid because: 'name' does not match any of the regexes: '^x-' #3

Closed joeybab3 closed 2 months ago

joeybab3 commented 2 months ago

When attempting to run the docker-compose step I am getting the following error:

ERROR: The Compose file './compose.yaml' is invalid because:
'name' does not match any of the regexes: '^x-'

You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
neonwatty commented 2 months ago

Thanks for reporting! I believe this might be because I did not define a version in the compose file.

I've just updated the compose file to an explicit version 3.3. Can you try again?

neonwatty commented 2 months ago

closing - please re-open if you're still having this issue.

joeybab3 commented 2 months ago

Latest PR solved it, thanks!