muni-town / weird

Weird web pages
https://weird.one
Other
52 stars 11 forks source link

refactor: adopt new docker compose specifications #75

Closed azzamsa closed 4 months ago

azzamsa commented 5 months ago

I have read the CLA Document and I hereby sign the CLA

zicklag commented 4 months ago

What is the reason for removing the version? Doesn't that make it go back to the old pre-2.0 version of the compose format?

secondtruth commented 4 months ago

What is the reason for removing the version? Doesn't that make it go back to the old pre-2.0 version of the compose format?

version is obsolete now. docker compose up throws a warning if it is used.

azzamsa commented 4 months ago

Technically you can still define it… But you will get the warning you observed, and it won’t be used, as docker compose v2 (=the cli plugin) will always use the latest version of the compose file schema. -- Metin Y.Leader

From Docker-compose.yml: version is obsolete - Docker Hub - Docker Community Forums