Commit cd3bca6c authored by likewhoa's avatar likewhoa
Browse files

Merge branch 'compose_fix' into 'develop'

Configure docker compose to use version 1

See merge request !7
parents ba71cdab 3a0a3b94
......@@ -57,6 +57,11 @@ select_yaml_files() {
echo "$yamlFiles"
}
# Disable docker compose v2
configure_docker_compose() {
docker-compose --version | grep "v2" >/dev/null && docker-compose disable-v2
}
# Docker up
docker_up() {
yamlFiles=$(select_yaml_files)
......@@ -201,6 +206,8 @@ install() {
# Installation
if [ $launchInstall -eq 0 ]; then
# Disable docker compose v2
configure_docker_compose
# Initialize the config files
init_config_files
# Build and start Dojo
......@@ -314,6 +321,8 @@ upgrade() {
# Upgrade Dojo
if [ $launchUpgrade -eq 0 ]; then
# Disable docker compose v2
configure_docker_compose
# Select yaml files
yamlFiles=$(select_yaml_files)
# Check if dojo is running (check the db container)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment