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

feat(sandbox): added video conferencing example #178

Merged
merged 3 commits into from
May 5, 2021
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
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