Skip to content

Commit

Permalink
Merge pull request #34 from iotaledger/deployment
Browse files Browse the repository at this point in the history
chore: add files for deployment services
  • Loading branch information
eike-hass authored Apr 30, 2024
2 parents 5cd6417 + 749ee19 commit 9b1e034
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ services:
expose:
- '3000'
- '50051'
ports:
- "127.0.0.1:3000:3000/tcp"
# depends_on:
# - redis
# - identity
Expand All @@ -59,6 +61,8 @@ services:
expose:
- '3333'
- '50051'
ports:
- "127.0.0.1:3333:3333/tcp"
volumes:
- ./proto:/usr/proto
labels:
Expand All @@ -73,7 +77,10 @@ services:
context: ./
dockerfile: ./oid4vc/walt.id/Dockerfile
expose:
- '3000'
- '50051'
ports:
- "127.0.0.1:3001:3000/tcp"
volumes:
- ./proto:/usr/proto
labels:
Expand All @@ -87,6 +94,8 @@ services:
image: impierce/ssi-agent
expose:
- '3033'
ports:
- "127.0.0.1:3033:3033/tcp"
volumes:
- ./proto:/usr/proto
labels:
Expand Down
10 changes: 10 additions & 0 deletions scripts/deployment.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
echo "building the image ..."
docker compose -f docker-compose.yml -f docker-compose.dev.yml build --no-cache

echo "shuting down the docker compose ..."
docker compose -f docker-compose.yml -f docker-compose.dev.yml down

echo "starting the docker compose ..."
docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d

echo "done"

0 comments on commit 9b1e034

Please sign in to comment.