diff --git a/run.sh b/run.sh index d32e503..563765b 100644 --- a/run.sh +++ b/run.sh @@ -46,6 +46,11 @@ find $DESTINATION -type d -exec chmod 755 {} \; chmod +x $DESTINATION/entrypoint.sh # Run Odoo -docker-compose -f $DESTINATION/docker-compose.yml up -d +if ! is_present="$(type -p "docker-compose")" || [[ -z $is_present ]]; then + docker compose -f $DESTINATION/docker-compose.yml up -d +else + docker-compose -f $DESTINATION/docker-compose.yml up -d +fi + echo "Odoo started at http://localhost:$PORT | Master Password: minhng.info | Live chat port: $CHAT" \ No newline at end of file