Automatically deploy pull requests for testing #8
@@ -12,8 +12,6 @@ services:
|
|||||||
- OAUTH2_AUTH_URI=https://${VHOST}-oauth2.branch.dsv.su.se/authorize
|
- OAUTH2_AUTH_URI=https://${VHOST}-oauth2.branch.dsv.su.se/authorize
|
||||||
- OAUTH2_TOKEN_URI=http://whisper-api-oauth2:8080/exchange
|
- OAUTH2_TOKEN_URI=http://whisper-api-oauth2:8080/exchange
|
||||||
- OAUTH2_USER_INFO_URI=http://whisper-api-oauth2:8080/verify
|
- OAUTH2_USER_INFO_URI=http://whisper-api-oauth2:8080/verify
|
||||||
networks:
|
|
||||||
- whisper-network
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- whisper-api-db
|
- whisper-api-db
|
||||||
- whisper-api-oauth2
|
- whisper-api-oauth2
|
||||||
@@ -26,8 +24,6 @@ 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
|
||||||
@@ -39,8 +35,6 @@ 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
|
|
||||||
environment:
|
environment:
|
||||||
CLIENT_ID: whisper-frontend
|
CLIENT_ID: whisper-frontend
|
||||||
CLIENT_SECRET: s3cr3t
|
CLIENT_SECRET: s3cr3t
|
||||||
@@ -50,6 +44,3 @@ services:
|
|||||||
- "traefik.http.routers.${VHOST}-oauth2.rule=Host(`${VHOST}-oauth2.branch.dsv.su.se`)"
|
- "traefik.http.routers.${VHOST}-oauth2.rule=Host(`${VHOST}-oauth2.branch.dsv.su.se`)"
|
||||||
- "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"
|
||||||
|
|
||||||
networks:
|
|
||||||
whisper-network:
|
|
||||||
|
|||||||
Reference in New Issue
Block a user