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.
23 lines
671 B
YAML
23 lines
671 B
YAML
5 years ago
|
services:
|
||
5 years ago
|
web:
|
||
4 years ago
|
build: app/aspnetapp
|
||
5 years ago
|
ports:
|
||
5 years ago
|
- 80:80
|
||
5 years ago
|
db:
|
||
|
environment:
|
||
|
ACCEPT_EULA: "Y"
|
||
|
SA_PASSWORD: example_123
|
||
3 years ago
|
# mssql server image isn't available for arm64 architecture, so we use azure-sql instead
|
||
|
image: mcr.microsoft.com/azure-sql-edge:1.0.4
|
||
|
# If you really want to use MS SQL Server, uncomment the following line
|
||
|
#image: mcr.microsoft.com/mssql/server
|
||
4 years ago
|
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
|
||
|
|
||
3 years ago
|
|