RotherOSS / otobo-docker

OTOBO Docker and Docker Compose files.
GNU General Public License v3.0
32 stars 16 forks source link

Support for Docker Compose V2 in scripts/update.sh #122

Open bschmalhofer opened 1 year ago

bschmalhofer commented 1 year ago

scripts/update.sh has the command 'docker-compose' hardcoded. This could be an alias to 'docker compose', but this is not guaranteed. There should be some kind of switch that switches from 'docker-compose' to 'docker compose'.

See also https://docs.docker.com/compose/migrate/.

bschmalhofer commented 1 year ago

Not closing this issue yet. Some more discussion of V1 vs. V2 is needed.

bschmalhofer commented 1 year ago

I discussed this with @StefanRother-OTOBO . As the switch to Docker Compose V2 is imminent we decided that docker compose should have precedence. As it is not trivial to cover all cases no warning message will be printed. If docker compose should not be used, then the admins can always uninstall the command.