From 1e6ba68f08e35d1d15198dfcb2e62727823cd5f0 Mon Sep 17 00:00:00 2001 From: Pedro Gomes Date: Wed, 13 Sep 2023 14:26:44 +0100 Subject: [PATCH] Tweak OG database deploy (#1515) * Tweak OG database deploy * bind ports --- .../workflows/manual-deploy-obscuro-gateway-database.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/manual-deploy-obscuro-gateway-database.yml b/.github/workflows/manual-deploy-obscuro-gateway-database.yml index 2d144ed934..9458285af1 100644 --- a/.github/workflows/manual-deploy-obscuro-gateway-database.yml +++ b/.github/workflows/manual-deploy-obscuro-gateway-database.yml @@ -84,7 +84,7 @@ jobs: shell: bash run: sleep 30 - - name: 'Start Obscuro gateway on Azure' + - name: 'Start Obscuro gateway Database on Azure' uses: azure/CLI@v1 with: inlineScript: | @@ -111,10 +111,10 @@ jobs: -v /sys/fs/cgroup/:/host/sys/fs/cgroup:ro \ datadog/agent:latest \ && cd /home/obscuro/go-obscuro/ \ - && docker run \ - --name db \ + && docker run -d --name db \ + -p 3306:3306 \ -e MARIADB_ROOT_PASSWORD=${{ secrets.OBSCURO_GATEWAY_MARIADB_ROOT_PWD }} \ -e MARIADB_USER=obscurouser \ -e MARIADB_PASSWORD=${{ secrets.OBSCURO_GATEWAY_MARIADB_USER_PWD }} \ -v /home/obscuro/go-obscuro/tools/walletextension/storage/database/001_init.sql:/docker-entrypoint-initdb.d/schema.sql \ - mariadb' + mariadb:11.1.2-jammy'