Skip to content

Commit

Permalink
[fix] Updated #274
Browse files Browse the repository at this point in the history
Fixes #274
  • Loading branch information
praptisharma28 committed Jun 1, 2024
1 parent eae97a4 commit 5cf2f6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: OpenWISP Monitoring CI Build

on:
Expand All @@ -18,7 +17,7 @@ jobs:

services:
redis:
image: redis
image: redis:5.0-alpine
ports:
- 6379:6379
influxdb:
Expand All @@ -30,7 +29,7 @@ jobs:
volumes:
- influxdb2-data:/var/lib/influxdb2
ports:
- 8087:8086
- 8088:8086
options: >-
--env DOCKER_INFLUXDB_INIT_MODE=setup
--env DOCKER_INFLUXDB_INIT_USERNAME=openwisp
Expand Down Expand Up @@ -101,7 +100,7 @@ jobs:
if: matrix.influxdb-version == 'influxdb2'
run: |
export INFLUXDB_HOST=localhost
export INFLUXDB_PORT=8087
export INFLUXDB_PORT=8088
export USE_INFLUXDB2=True
- name: QA checks
Expand Down
6 changes: 1 addition & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ services:
- ./tests/influxdb.conf:/etc/influxdb/influxdb.conf
ports:
- "8086:8086"
- "8089:8089/udp"
- "8090:8090/udp"
- "8091:8091/udp"
- "8092:8092/udp"
environment:
INFLUXDB_DB: openwisp2
INFLUXDB_USER: openwisp
Expand All @@ -34,7 +30,7 @@ services:
volumes:
- influxdb2-data:/var/lib/influxdb2
ports:
- "8087:8086"
- "8088:8086"
environment:
DOCKER_INFLUXDB_INIT_MODE: setup
DOCKER_INFLUXDB_INIT_USERNAME: openwisp
Expand Down

0 comments on commit 5cf2f6d

Please sign in to comment.