Skip to content

Commit

Permalink
feat: replace mongodb with redis
Browse files Browse the repository at this point in the history
Signed-off-by: Stefano Cappa <[email protected]>
  • Loading branch information
Ks89 committed Dec 22, 2024
1 parent 36e7cc1 commit a6c278a
Show file tree
Hide file tree
Showing 12 changed files with 593 additions and 1,044 deletions.
3 changes: 1 addition & 2 deletions .env_template
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
MONGO_URI=mongodb://localhost:27017
MONGO_DB_NAME=online
REDIS_URI=redis://localhost:6379
8 changes: 3 additions & 5 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,10 @@ jobs:
# that force github actions job to fail. With `|| true` I can ignore that error.
mosquitto_pub --version || true
mosquitto_sub --version || true
- name: Install and start MongoDB
uses: supercharge/[email protected]
- name: Install and start Redis
uses: shogo82148/actions-setup-redis@v1
with:
mongodb-version: 6.0
mongodb-replica-set: test-rs
mongodb-port: 27017
redis-version: "7.x"
- name: Run tests
run: |
cp .env_template .env
Expand Down
Loading

0 comments on commit a6c278a

Please sign in to comment.