From 5d16b282a93f6f68a420ebae51ae3323b4d8a571 Mon Sep 17 00:00:00 2001 From: Viktor Date: Tue, 15 Oct 2024 01:13:01 +0300 Subject: [PATCH] [74] mongoid support --- .github/workflows/verify.yml | 8 ++++++++ docker-compose.yml | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 064c679..2e98d9b 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -23,6 +23,14 @@ jobs: ports: - '6379:6379' + mongo: + image: mongo:latest + env: + MONGO_INITDB_ROOT_USERNAME: ${{ env.DB_USERNAME }} + MONGO_INITDB_ROOT_PASSWORD: ${{ env.DB_PASSWORD }} + ports: + - 27017:27017 + postgres: image: postgres:16 env: diff --git a/docker-compose.yml b/docker-compose.yml index e58e15d..9f95fa8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,14 @@ services: restart: always ports: - '6379:6379' + mongo: + image: mongo:latest + restart: always + environment: + MONGO_INITDB_ROOT_USERNAME: ${DB_USERNAME} + MONGO_INITDB_ROOT_PASSWORD: ${DB_PASSWORD} + ports: + - 27017:27017 postgres: image: postgres:16 restart: always