Skip to content

Commit

Permalink
added cadvisor port for both stands
Browse files Browse the repository at this point in the history
  • Loading branch information
mighty-sponge committed Jun 3, 2024
1 parent 9b19a57 commit 263818a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ jobs:
anybotPort: 3000
timerTriggerPort: 3001
blobPort: 10000
cavdisorPort: 8080
- runner: [self-hosted, test]
branch: refs/heads/test-any-bot
stand: test
anybotPort: 3002
timerTriggerPort: 3003
blobPort: 11000
cavdisorPort: 8081
steps:
- name: Checkout GitHub Action
if: ${{ github.ref == matrix.branch }}
Expand All @@ -40,6 +42,7 @@ jobs:
echo "ANYBOT_PORT=${{ matrix.anybotPort }}" >> .env
echo "TIMER_TRIGGER_PORT=${{ matrix.timerTriggerPort }}" >> .env
echo "BLOB_PORT=${{ matrix.blobPort }}" >> .env
echo "CADVISOR_PORT=${{ matrix.cavdisorPort }}" >> .env
- name: Restart docker compose
if: ${{ github.ref == matrix.branch }}
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ services:
cadvisor:
image: gcr.io/cadvisor/cadvisor:latest
ports:
- 8080:8080
- "${CADVISOR_PORT}:8080"
command:
- "--enable_metrics=cpu,memory,network"
- "--store_container_labels=false"
Expand Down

0 comments on commit 263818a

Please sign in to comment.