Skip to content

Commit

Permalink
[FIX] CI for gchr. Added docker compose dev
Browse files Browse the repository at this point in the history
  • Loading branch information
whikernel committed Jun 28, 2024
1 parent d299d77 commit 2c6f9b5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
build-db:
runs-on: ubuntu-latest

permissions:
packages: write
contents: read

steps:
- run: |
echo "The job was automatically triggered by a ${{ github.event_name }} event."
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
build-db:
runs-on: ubuntu-latest

permissions:
packages: write
contents: read

steps:
- run: |
echo "The job was automatically triggered by a ${{ github.event_name }} event."
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:

db:
container_name: iriswebapp_db
image: ${DB_IMAGE_NAME:-ghcr.io/dfir-iris/iriswebapp-db}:${DB_IMAGE_TAG:-latest}
image: ${DB_IMAGE_NAME:-ghcr.io/dfir-iris/iriswebapp_db}:${DB_IMAGE_TAG:-latest}
restart: always
# Used for debugging purposes, should be deleted for production
ports:
Expand All @@ -43,7 +43,7 @@ services:
- db_data:/var/lib/postgresql/data

app:
image: ${APP_IMAGE_NAME:-ghcr.io/dfir-iris/iriswebapp_db}:${APP_IMAGE_TAG:-latest}
image: ${APP_IMAGE_NAME:-ghcr.io/dfir-iris/iriswebapp_app}:${APP_IMAGE_TAG:-latest}
container_name: iriswebapp_app
command: ['nohup', './iris-entrypoint.sh', 'iriswebapp']
volumes:
Expand Down

0 comments on commit 2c6f9b5

Please # to comment.