You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
abp/samples/MicroserviceDemo/docker-compose.override.yml

168 lines
6.6 KiB

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:
- 51510: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:51511
- 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__0__Host=identity-service
- ReRoutes__0__DownstreamHostAndPorts__0__Port=80
- ReRoutes__1__DownstreamHostAndPorts__0__Host=product-service
- ReRoutes__1__DownstreamHostAndPorts__0__Port=80
- ReRoutes__2__DownstreamHostAndPorts__0__Host=blogging-service
- ReRoutes__2__DownstreamHostAndPorts__0__Port=80
- GlobalConfiguration__BaseUrl=http://internal-gateway
ports:
- "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:51511
- 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__0__Host=identity-service
- ReRoutes__0__DownstreamHostAndPorts__0__Port=80
- ReRoutes__1__DownstreamHostAndPorts__0__Host=product-service
- ReRoutes__1__DownstreamHostAndPorts__0__Port=80
- GlobalConfiguration__BaseUrl=http://backend-admin-app-gateway
ports:
- 51531: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:51511
- 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__0__Host=product-service
- ReRoutes__0__DownstreamHostAndPorts__0__Port=80
- ReRoutes__1__DownstreamHostAndPorts__0__Host=blogging-service
- ReRoutes__1__DownstreamHostAndPorts__0__Port=80
- GlobalConfiguration__BaseUrl=http://public-website-gateway
ports:
- 51532: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:51511
- 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
- RemoteServices__Default__BaseUrl=http://internal-gateway/
ports:
- 51521: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:51511
- 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:
- 51522: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:51511
- 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:
- 51523:80
auth-server:
environment:
- ElasticSearch__Url=http://elasticsearch:9200
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://0.0.0.0:51511
- 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:
- 51511:51511
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:51511
- RemoteServices__Default__BaseUrl=http://backend-admin-app-gateway/
- Redis__Configuration=redis
ports:
- 51512: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:51511
- RemoteServices__Default__BaseUrl=http://public-website-gateway/
- Redis__Configuration=redis
ports:
- 51513:80