You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
448 B
YAML
19 lines
448 B
YAML
services:
|
|
web:
|
|
build: app/aspnetapp
|
|
ports:
|
|
- 80:80
|
|
db:
|
|
environment:
|
|
ACCEPT_EULA: "Y"
|
|
SA_PASSWORD: example_123
|
|
image: microsoft/mssql-server-linux
|
|
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
|
|
|
|
|