Created
July 16, 2019 15:25
-
-
Save rahulsahay19/440d9ecc6174bfefac030163e6e4e0db to your computer and use it in GitHub Desktop.
docker-compose-run.yml
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' | |
services: | |
sql.data: | |
image: mcr.microsoft.com/mssql/server:2017-latest | |
container_name: sql1 | |
ports: | |
- "1433:1433" | |
environment: | |
- ACCEPT_EULA=Y | |
- SA_PASSWORD=AKSLearn(!) | |
AKSWeb: | |
ports: | |
- "8080:80" | |
AKSApi: | |
ports: | |
- "8081:80" | |
environment: | |
- ConnectionStrings__DefaultConnection=Data Source=sql.data,1433;Initial Catalog=AKSLearnDB;User Id=SA;Password=AKSLearn(!);MultipleActiveResultSets=True; | |
depends_on: | |
- sql.data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment