Created
June 22, 2021 09:16
-
-
Save jstadnicki/cebbf2e85a851a5fb0d68f8cbdfc9ef9 to your computer and use it in GitHub Desktop.
rabbit.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.9" | |
services: | |
front: | |
depends_on: | |
- "mssql" | |
- "rabbit" | |
build: | |
context: . | |
dockerfile: ./Front/Dockerfile | |
environment: | |
- ASPNETCORE_URLS=https://+;http://+" | |
- ASPNETCORE_ENVIRONMENT=Development | |
- ASPNETCORE_HTTPS_PORT=5001 | |
- ASPNETCORE_Kestrel__Certificates__Default__Password='xapopass' | |
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/aspnetapp.pfx | |
volumes: | |
- ./cert/:/https/ | |
ports: | |
- "5000:5000" | |
- "5001:5001" | |
core: | |
depends_on: | |
- "rabbit" | |
build: | |
context: . | |
dockerfile: ./Core/Dockerfile | |
store: | |
depends_on: | |
- "mssql" | |
- "rabbit" | |
build: | |
context: . | |
dockerfile: ./Store/Dockerfile | |
rabbit: | |
image: rabbitmq:3-management | |
ports: | |
- "15672:15672" | |
- "55673:55673" | |
mssql: | |
environment: | |
- ACCEPT_EULA=Y | |
- MSSQL_SA_PASSWORD=passWORD123#@! | |
image: mcr.microsoft.com/mssql/server:2019-latest | |
ports: | |
- "1433:1433" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment