version: '3.0' services: sqlserver: environment: - SA_PASSWORD=yourStrong(!)Password - ACCEPT_EULA=Y ports: - "1433" mongodb: ports: - "27017" rabbitmq: ports: - "15672" - "5672" redis: ports: - "6379" elasticsearch: volumes: - ./elk/elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro environment: - "ES_JAVA_OPTS=-Xms512m -Xmx512m" ports: - "9200" logstash: volumes: - ./elk/logstash/config/logstash.yml:/usr/share/logstash/config/logstash.yml:ro - ./elk/logstash/pipeline:/usr/share/logstash/pipeline:ro environment: - "LS_JAVA_OPTS=-Xmx256m -Xms256m" ports: - "9600" - "5000" kibana: volumes: - ./elk/kibana/config/:/usr/share/kibana/config:ro ports: - 5601:5601 internal-gateway: environment: - ElasticSearch__Url=http://elasticsearch:9200 - ASPNETCORE_ENVIRONMENT=Development - ASPNETCORE_URLS=http://0.0.0.0:80 - AuthServer__Authority=http://auth-server:64999 - ConnectionStrings__Default=Server=sqlserver;Database=MsDemo_Identity;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false - Redis__Configuration=redis - ReRoutes__0__DownstreamHostAndPorts__Host=identity-service - ReRoutes__0__DownstreamHostAndPorts__Port=80 - ReRoutes__1__DownstreamHostAndPorts__Host=product-service - ReRoutes__1__DownstreamHostAndPorts__Port=80 - ReRoutes__2__DownstreamHostAndPorts__Host=blogging-service - ReRoutes__2__DownstreamHostAndPorts__Port=80 - GlobalConfiguration__BaseUrl=http://internal-gateway ports: - 65129:80 backend-admin-app-gateway: environment: - ElasticSearch__Url=http://elasticsearch:9200 - ASPNETCORE_ENVIRONMENT=Development - ASPNETCORE_URLS=http://0.0.0.0:80 - RemoteServices__Default__BaseUrl=http://backend-admin-app-gateway/ - AuthServer__Authority=http://auth-server:64999 - ConnectionStrings__Default=Server=sqlserver;Database=MsDemo_Identity;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false - Redis__Configuration=redis - ReRoutes__0__DownstreamHostAndPorts__Host=identity-service - ReRoutes__0__DownstreamHostAndPorts__Port=80 - ReRoutes__1__DownstreamHostAndPorts__Host=product-service - ReRoutes__1__DownstreamHostAndPorts__Port=80 - GlobalConfiguration__BaseUrl=http://backend-admin-app-gateway ports: - 65115:80 public-website-gateway: environment: - ElasticSearch__Url=http://elasticsearch:9200 - ASPNETCORE_ENVIRONMENT=Development - ASPNETCORE_URLS=http://0.0.0.0:80 - AuthServer__Authority=http://auth-server:64999 - ConnectionStrings__Default=Server=sqlserver;Database=MsDemo_Identity;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false - Redis__Configuration=redis - ReRoutes__0__DownstreamHostAndPorts__Host=product-service - ReRoutes__0__DownstreamHostAndPorts__Port=80 - ReRoutes__1__DownstreamHostAndPorts__Host=blogging-service - ReRoutes__1__DownstreamHostAndPorts__Port=80 - GlobalConfiguration__BaseUrl=http://public-website-gateway ports: - 64897:80 blogging-service: environment: - ElasticSearch__Url=http://elasticsearch:9200 - ASPNETCORE_ENVIRONMENT=Development - ASPNETCORE_URLS=http://0.0.0.0:80 - AuthServer__Authority=http://auth-server:64999 - ConnectionStrings__Default=Server=sqlserver;Database=MsDemo_Identity;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false - ConnectionStrings__Blogging=mongodb://mongodb|MsDemo_Blogging - Redis__Configuration=redis - RabbitMQ__Connections__Default__HostName=rabbitmq ports: - 62157:80 identity-service: environment: - ElasticSearch__Url=http://elasticsearch:9200 - ASPNETCORE_ENVIRONMENT=Development - ASPNETCORE_URLS=http://0.0.0.0:80 - AuthServer__Authority=http://auth-server:64999 - ConnectionStrings__Default=Server=sqlserver;Database=MsDemo_Identity;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false - Redis__Configuration=redis - RabbitMQ__Connections__Default__HostName=rabbitmq ports: - 63568:80 product-service: environment: - ElasticSearch__Url=http://elasticsearch:9200 - ASPNETCORE_ENVIRONMENT=Development - ASPNETCORE_URLS=http://0.0.0.0:80 - AuthServer__Authority=http://auth-server:64999 - ConnectionStrings__Default=Server=sqlserver;Database=MsDemo_Identity;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false - ConnectionStrings__ProductManagement=Server=sqlserver;Database=MsDemo_ProductManagement;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false - Redis__Configuration=redis - RabbitMQ__Connections__Default__HostName=rabbitmq ports: - 60244:80 auth-server: environment: - ElasticSearch__Url=http://elasticsearch:9200 - ASPNETCORE_ENVIRONMENT=Development - ASPNETCORE_URLS=http://0.0.0.0:64999 - ConnectionStrings__Default=Server=sqlserver;Database=MsDemo_Identity;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false - Redis__Configuration=redis - RabbitMQ__Connections__Default__HostName=rabbitmq ports: - 64999:64999 backend-admin-app: environment: - ElasticSearch__Url=http://elasticsearch:9200 - ASPNETCORE_ENVIRONMENT=Development - ASPNETCORE_URLS=http://0.0.0.0:80 - AuthServer__Authority=http://auth-server:64999 - RemoteServices__Default__BaseUrl=http://backend-admin-app-gateway/ - Redis__Configuration=redis ports: - 51954:80 console-client-demo: environment: - ElasticSearch__Url=http://elasticsearch:9200 - ASPNETCORE_ENVIRONMENT=Development - ASPNETCORE_URLS=http://0.0.0.0:80 - RemoteServices__Default__BaseUrl=http://internal-gateway/ - IdentityClients__Default__Authority=http://auth-server:64999 ports: - 63898:80 public-website: environment: - ElasticSearch__Url=http://elasticsearch:9200 - ASPNETCORE_ENVIRONMENT=Development - ASPNETCORE_URLS=http://0.0.0.0:80 - AuthServer__Authority=http://auth-server:64999 - RemoteServices__Default__BaseUrl=http://public-website-gateway/ - Redis__Configuration=redis ports: - 53435:80