Automatically deploy pull requests for testing #8

Merged
erth9960 merged 44 commits from actions into master 2024-07-08 14:29:41 +02:00
Showing only changes of commit f5da0c1cf5 - Show all commits

View File

@ -15,6 +15,9 @@ services:
depends_on:
- whisper-api-db
- whisper-api-oauth2
networks:
- whisper-network
- traefik
labels:
- "traefik.enable=true"
- "traefik.http.routers.${VHOST}.rule=Host(`${VHOST}.branch.dsv.su.se`)"
@ -25,6 +28,8 @@ services:
container_name: whisper-api-db
image: mariadb
restart: on-failure
networks:
- whisper-network
environment:
- MARIADB_ROOT_PASSWORD=mariadb
- MARIADB_DATABASE=whisper_api
@ -36,6 +41,9 @@ services:
context: https://github.com/dsv-su/toker.git
dockerfile: embedded.Dockerfile
restart: on-failure
networks:
- whisper-network
- traefik
environment:
CLIENT_ID: whisper-frontend
CLIENT_SECRET: s3cr3t
@ -46,3 +54,7 @@ services:
- "traefik.http.routers.${VHOST}-oauth2.tls.certresolver=myresolver"
- "traefik.http.services.${VHOST}-oauth2.loadbalancer.server.port=8080"
- "traefik.docker.network=traefik"
networks:
whisper-network:
traefik: