-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (37 loc) · 865 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (37 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
services:
db:
image: mcr.microsoft.com/mssql/server:2022-latest
environment:
ACCEPT_EULA: Y
MSSQL_SA_PASSWORD: Password!
ports:
- "1433:1433"
container_name: shuffull-db
restart: unless-stopped
networks:
- shuffull-net
healthcheck:
test: ["CMD", "/opt/mssql-tools/bin/sqlcmd", "-S", "localhost", "-U", "sa", "-P", "Password!", "-Q", "SELECT 1"]
interval: 10s
timeout: 5s
retries: 5
site:
build:
context: .
dockerfile: Dockerfile
container_name: shuffull-site
ports:
- "7117:7117"
- "5117:5117"
depends_on:
db:
condition: service_healthy
networks:
- shuffull-net
environment:
- ASPNETCORE_ENVIRONMENT=Production
volumes:
- ./data/site:/root/shuffull_data
networks:
shuffull-net:
driver: bridge