23 lines
720 B
YAML
23 lines
720 B
YAML
version: "3.9" # optional since v1.27.0
|
|
services:
|
|
web_api:
|
|
image: bobby-baya
|
|
container_name: bobby-baya-app
|
|
environment:
|
|
"ASPNETCORE_URLS": "https://+;http://+"
|
|
"ASPNETCORE_Kestrel__Certificates__Default__Password": "Strong@Password"
|
|
"ASPNETCORE_Kestrel__Certificates__Default__Path": "/https/baya.pfx"
|
|
ports:
|
|
- "5000:80"
|
|
- "5001:443"
|
|
volumes:
|
|
- ~/.aspnet/https:/https
|
|
sql:
|
|
image: "mcr.microsoft.com/mssql/server:2022-latest"
|
|
container_name: sql_server2022
|
|
ports: # not actually needed, because the two services are on the same network
|
|
- "1435:1433"
|
|
environment:
|
|
- ACCEPT_EULA=y
|
|
- SA_PASSWORD=A&VeryComplex123Password
|