Skip to content

Commit

Permalink
Tweak OG database deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
otherview committed Sep 13, 2023
1 parent 2e56932 commit 345aa25
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/manual-deploy-obscuro-gateway-database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -111,10 +111,9 @@ 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 \
-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'

0 comments on commit 345aa25

Please sign in to comment.