Skip to content

Commit

Permalink
feat(sandbox): added video conferencing example (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
akshatdubeysf authored May 5, 2021
1 parent 7b11068 commit 6d77c9a
Show file tree
Hide file tree
Showing 51 changed files with 12,602 additions and 8,784 deletions.
37 changes: 37 additions & 0 deletions sandbox/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,18 @@ x-scheduler-variables: &scheduler-variables
JWT_SECRET: i_am_a_strong_secret
JWT_ISSUER: https://loopback4-microservice-catalog

x-video-variables: &video-variables
VONAGE_API_KEY: 0
VONAGE_API_SECRET: abc
TIME_TO_START:
DB_HOST: localhpostgresost
DB_PORT: 5432
DB_USER: ${POSTGRES_USER:-postgres}
DB_PASSWORD: ${POSTGRES_PASSWORD:-changeme}
DB_DATABASE: video_db
DB_SCHEMA: main
JWT_SECRET: i_am_a_strong_secret
JWT_ISSUER: https://loopback4-microservice-catalog

services:
auth-multitenant-example:
Expand Down Expand Up @@ -198,6 +210,31 @@ services:
- postgres
- postgres_orchestrator


video-conferencing-ms-example:
image: sourceloop/video-conferencing-ms-example
build:
context: ./video-conferencing-ms-example
dockerfile: Dockerfile
ports:
- "3040:3000"
networks:
- sandbox
environment: *video-variables
depends_on:
- postgres
- postgres_orchestrator

video-conferencing-ms-migration:
image: sourceloop/workflow-helloworld:latest
command: ["npm", "run", "db:migrate"]
environment: *video-variables
depends_on:
- postgres
- postgres_orchestrator
networks:
- sandbox
restart: on-failure

redis:
image: "redis:alpine"
Expand Down
Loading

0 comments on commit 6d77c9a

Please sign in to comment.