mirror of
https://github.com/alex289/CleanArchitecture.git
synced 2025-07-02 03:22:57 +00:00
25 lines
449 B
YAML
25 lines
449 B
YAML
version: "3"
|
|
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- 80:80
|
|
depends_on:
|
|
- db
|
|
links:
|
|
- db
|
|
healthcheck:
|
|
test: ["CMD", "curl", "--fail", "http://localhost/healthz"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
db:
|
|
image: mcr.microsoft.com/mssql/server
|
|
environment:
|
|
- ACCEPT_EULA=Y
|
|
- SA_PASSWORD=Password123!#
|
|
ports:
|
|
- 1433:1433
|