Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test installing stack service #422

Merged
merged 1 commit into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ jobs:
QS_PUBLIC_HOST_AND_PORT: ${{ secrets.QS_PUBLIC_HOST_AND_PORT}}
run: >
MW_ADMIN_PASS=${{ secrets.MW_ADMIN_PASS }}
DB_PASS=${{ secrets.DB_PASS }}
DB_PASS=${{ secrets.DB_PASS }}
docker network create test &&
docker-compose -f docker-compose.yml -f docker-compose-ci.yml up -d

# pauses CI execution and prints a temporary ssh url to the server for debugging
Expand Down
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ services:
- ./traefik-log:/data/log # Persistent file for logging
networks:
- default
- test
labels:
- traefik.http.routers.dashboard.rule=Host(`traefik.portal.mardi4nfdi.${TLD}`)
- traefik.http.routers.dashboard.entrypoints=websecure
Expand Down Expand Up @@ -695,3 +696,5 @@ networks:
driver: bridge
driver_opts:
com.docker.network.driver.mtu: 1450
test:
external: true
15 changes: 15 additions & 0 deletions traefik/conf/stack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
http:
services:
rediscommander:
loadBalancer:
servers:
- url: "http://localhost:8081"
routers:
redis-router:
rule: Host(`redis.portal.mardi4nfdi.de`)
service: rediscommander
entryPoints: [websecure]
tls:
certResolver: le
middlewares:
- basicauth
Loading