Skip to content

Commit

Permalink
ci: use mq credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
tyknkd committed May 16, 2024
1 parent 440f08a commit a0724a2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export GRAFANA_PORT=3000
export POSTGRES_DB=${COLLECTOR_DB}
export POSTGRES_HOST=db
export POSTGRES_PORT=5432
export POSTGRES_USER=newsanalyzer
export POSTGRES_USER=postgresuser
export PROJECT_VERSION=0.1.0
export PROMETHEUS_PORT=9090
export RABBITMQ_HOST=mq
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ jobs:
POSTGRES_DB: collector_db
POSTGRES_HOST: db
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
POSTGRES_USER: newsanalyzer
POSTGRES_USER: postgresuser
RABBITMQ_DEFAULT_PASS: ${{ secrets.RABBITMQ_DEFAULT_PASS }}
RABBITMQ_DEFAULT_USER: rabbituser
services:
db:
image: postgres:16.2
Expand All @@ -29,6 +31,9 @@ jobs:
- 5432:5432
mq:
image: rabbitmq:3.13-management
env:
RABBITMQ_DEFAULT_PASS: ${{ secrets.RABBITMQ_DEFAULT_PASS }}
RABBITMQ_DEFAULT_USER: ${{ env.RABBITMQ_DEFAULT_USER }}
ports:
- 5672:5672
- 15692:15692
Expand Down

0 comments on commit a0724a2

Please sign in to comment.