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