mirror of
https://github.com/maplibre/martin.git
synced 2024-12-18 20:31:54 +03:00
a864b9981c
This should solve #1149. See also [my comment there for the approach](https://github.com/maplibre/martin/issues/11). In short through a variable that is substituted. Note that this may not work if an older Docker version is installed without the Python `docker-compose` script...As both variants will not be present. Maybe add an extra test+warning msg for that case. ``` dockercompose := `if docker-compose --version &> /dev/null; then echo "docker-compose"; else echo "docker compose"; fi` . . up: {{ dockercompose }} up up-build: {{ dockercompose }} up --build . . ``` --------- Co-authored-by: Lucas <zhangyijunmetro@hotmail.com> |
||
---|---|---|
.. | ||
certs | ||
db | ||
frontend | ||
.dockerignore | ||
.gitignore | ||
docker-compose.yml | ||
justfile | ||
README.md |