Anapher/Strive

View on GitHub
src/docker-compose.override.yml

Summary

Maintainability
Test Coverage
version: "3.4"

services:
  identity-api:
    environment:
      - ASPNETCORE_ENVIRONMENT=${APP_ENVIRONMENT}

  strive:
    environment:
      - ASPNETCORE_ENVIRONMENT=${APP_ENVIRONMENT}
      - Authentication__Authority=http://identity-api
      - KeyValueDatabase__UseInMemory=true
      - RabbitMq__UseInMemory=false
      - RabbitMq__RabbitMq__Host=amqp://rabbitmq
      - MongoDb__ConnectionString=mongodb://nosqldata
      - SFU__TokenSecret=${STRIVE_TOKEN_SECRET}
      - SFU__ApiKey=${STRIVE_API_KEY}

  sfu:
    environment:
      - SERVER_ENVIRONMENT=${APP_ENVIRONMENT}
      - API_CONFERENCE_MANAGEMENT=http://strive/v1/sfu/{conferenceId}?apiKey=${STRIVE_API_KEY}
      - AMQP_CONNECTION_STRING=amqp://rabbitmq
      - API_TOKEN_SECRET=${STRIVE_TOKEN_SECRET}
      - MEDIASOUP_ANNOUNCED_IP=${ANNOUNCED_IP} # this will not work with firefox if it's localhost. to make it work for firefox, use your local ipv4 here