From 290dcccbcd0b486282f8885bd241f0ac16c551b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atakan=20Ya=C5=9Far?= Date: Wed, 1 May 2024 03:05:17 +0300 Subject: [PATCH] fix(devops): update docker version --- .github/workflows/backend_build.yml | 12 ++++++------ docker-compose.dev.yml | 2 +- docker-compose.yml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/backend_build.yml b/.github/workflows/backend_build.yml index 14beec02..238e0f94 100644 --- a/.github/workflows/backend_build.yml +++ b/.github/workflows/backend_build.yml @@ -32,28 +32,28 @@ jobs: java-version: '17' - name: Build Docker backend-dev Image - run: docker-compose -f ../docker-compose.dev.yml build db-dev + run: docker-compose -f docker-compose.dev.yml build db-dev - name: Run Docker backend-dev Container - run: docker-compose -f ../docker-compose.dev.yml up -d db-dev + run: docker-compose -f docker-compose.dev.yml up -d db-dev - name: Run Tests run: mvn clean test - name: Stop Docker backend-dev Container - run: docker-compose -f ../docker-compose.dev.yml down + run: docker-compose -f docker-compose.dev.yml down - name: Build Docker backend-prod Image - run: docker-compose -f ../docker-compose.yml build db + run: docker-compose -f docker-compose.yml build db - name: Run Docker backend-prod Container - run: docker-compose -f ../docker-compose.yml up -d db + run: docker-compose -f docker-compose.yml up -d db - name: Run Tests run: mvn clean test - name: Stop Docker backend-prod Container - run: docker-compose -f ../docker-compose.yml down + run: docker-compose -f docker-compose.yml down diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index f13821e5..15b9d3da 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -1,4 +1,4 @@ -version: "3.1" +version: "3.3" name: bounswe2024group1-dev services: diff --git a/docker-compose.yml b/docker-compose.yml index 118c24ae..e2ad5bf6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: "3.1" +version: "3.3" name: bounswe2024group1 # Production-like docker-compose setup