Last active
July 15, 2019 05:52
-
-
Save rahulsahay19/86b96ddfb1f24f982622a41b7c5d3a9e to your computer and use it in GitHub Desktop.
docker compose
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.3' | |
services: | |
sql.data-client: | |
image: rahulsahay19/sqlclient | |
build: | |
context: ../src/AKSLearnDB | |
dockerfile: Dockerfile | |
sql.data: | |
image: mcr.microsoft.com/mssql/server:2017-latest | |
container_name: sql1 | |
ports: | |
- "1433:1433" | |
environment: | |
- ACCEPT_EULA=Y | |
- SA_PASSWORD=AKSLearn(!) | |
tty: true | |
AKSWeb: | |
image: rahulsahay19/aksweb | |
build: | |
context: ../src/AKSWeb | |
dockerfile: Dockerfile | |
depends_on: | |
- AKSApi | |
ports: | |
- "8080:80" | |
environment: | |
- AKSApiUrl="http://AKSApi:8081/api/eventsapi/" | |
AKSApi: | |
image: rahulsahay19/aksapi | |
build: | |
context: ../src/AKSApi | |
dockerfile: Dockerfile | |
depends_on: | |
- sql.data | |
ports: | |
- "8081:80" | |
environment: | |
- ConnectionStrings__DefaultConnection=Data Source=sql.data,1433;Initial Catalog=AKSLearnDB;User Id=SA;Password=AKSLearn(!);MultipleActiveResultSets=True; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment