From 75a9bedb26cdcac602fc1cd1cb051efe0f687a8a Mon Sep 17 00:00:00 2001 From: Vibhav Bobade Date: Wed, 14 Dec 2022 17:30:06 +0530 Subject: [PATCH] Update uffizzi compose with other dbs --- .github/uffizzi/docker-compose.uffizzi.yml | 32 ++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/.github/uffizzi/docker-compose.uffizzi.yml b/.github/uffizzi/docker-compose.uffizzi.yml index 4232733013..f91de6e9b7 100644 --- a/.github/uffizzi/docker-compose.uffizzi.yml +++ b/.github/uffizzi/docker-compose.uffizzi.yml @@ -8,17 +8,45 @@ x-uffizzi: services: postgres: image: postgres - restart: always environment: POSTGRES_PASSWORD: password POSTGRES_USER: postgres POSTGRES_DB: root_db + deploy: + resources: + limits: + memory: 500M + mssql: + image: "mcr.microsoft.com/mssql/server:2017-latest" + environment: + ACCEPT_EULA: "Y" + SA_PASSWORD: Password123. + deploy: + resources: + limits: + memory: 1000M + mysql: + environment: + MYSQL_DATABASE: root_db + MYSQL_PASSWORD: password + MYSQL_ROOT_PASSWORD: password + MYSQL_USER: noco + image: "mysql:5.7" + deploy: + resources: + limits: + memory: 500M nocodb: image: "${NOCODB_IMAGE}" ports: - "8080:8080" - restart: always + entrypoint: /bin/sh + command: ["-c", "apk add wait4ports && wait4ports tcp://localhost:5432 && /usr/src/appEntry/start.sh"] environment: NC_DB: "pg://localhost:5432?u=postgres&p=password&d=root_db" NC_ADMIN_EMAIL: admin@nocodb.com NC_ADMIN_PASSWORD: password + deploy: + resources: + limits: + memory: 500M \ No newline at end of file