Skip to content

Commit

Permalink
Add stack test network
Browse files Browse the repository at this point in the history
  • Loading branch information
physikerwelt committed Nov 5, 2023
1 parent bb3e7e9 commit a8fdc04
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ jobs:
MW_ADMIN_PASS=${{ secrets.MW_ADMIN_PASS }}
DB_PASS=${{ secrets.DB_PASS }}
docker swarm init &&
docker network create --driver=overlay --attachable test &&
docker stack deploy --compose-file docker-compose-stack.yml mardistack
9 changes: 8 additions & 1 deletion docker-compose-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,11 @@
environment:
- REDIS_HOSTS=redis:6379
ports:
- "8081:8081"
- "8081:8081"
hostname: rediscommander
networks:
- test
networks:
test:
external:
name: test

0 comments on commit a8fdc04

Please sign in to comment.