awesome-compose/aspnet-mssql/docker-compose.yaml
Esteban Solano Granados d48e8350ea
Updated aspnet-mssqlsample from discontinued image (#164)
Signed-off-by: GitHub <noreply@github.com>
2021-11-04 17:39:53 +01:00

20 lines
451 B
YAML

services:
web:
build: app/aspnetapp
ports:
- 80:80
db:
environment:
ACCEPT_EULA: "Y"
SA_PASSWORD: example_123
image: mcr.microsoft.com/mssql/server
restart: always
healthcheck:
test: ["CMD-SHELL", "/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P example_123 -Q 'SELECT 1' || exit 1"]
interval: 10s
retries: 10
start_period: 10s
timeout: 3s