Skip to content

Commit

Permalink
fix(devops): delete name field in docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
atakanyasar committed May 1, 2024
1 parent 290dccc commit 8adb285
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/backend_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,30 +30,18 @@ jobs:
with:
distribution: 'temurin'
java-version: '17'

- name: Build Docker backend-dev Image
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

- name: Run Tests
run: mvn clean test

- name: Stop Docker backend-dev Container
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



1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
version: "3.3"
name: bounswe2024group1
# Production-like docker-compose setup

services:
Expand Down

0 comments on commit 8adb285

Please sign in to comment.