In the repo README, the Gettings Started guides is to clone repo, copy .env, modify them and start docker compose.
Sadly the docker-compose.yaml does not use .env file, instead it overrides them directly in docker-compose.yaml
Also for the love of Git, can we in new projects such as this one use modern syntax and not drag deprecated things into it?
Just for docker alone you should:
- Rename docker-compose.yaml to compose.yaml (proposed in 2021 and at least from 2024 it is already as prefered name in offical documentation)
- Drop version from the compose.yaml alltogether (also thing from 2021, docker compose now complains each time you use compose file using version string)
- In example do not call
docker-compose command, it has been replaced by plugin and is called docker compose now.
In the repo README, the Gettings Started guides is to clone repo, copy .env, modify them and start docker compose.
Sadly the docker-compose.yaml does not use .env file, instead it overrides them directly in docker-compose.yaml
Also for the love of Git, can we in new projects such as this one use modern syntax and not drag deprecated things into it?
Just for docker alone you should:
docker-composecommand, it has been replaced by plugin and is calleddocker composenow.