-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
40 lines (39 loc) · 1.09 KB
/
docker-compose.yaml
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
40
version: '3.9'
services:
sqldb:
image: mcr.microsoft.com/mssql/server:2019-latest
environment:
- SA_PASSWORD=MySecurePassword
- ACCEPT_EULA=Y
healthcheck:
test: ["CMD", "/opt/mssql-tools/bin/sqlcmd", "-Usa", "-PMySecurePassword", "-Q", "select 1"]
interval: 20s
retries: 20
volumes:
- './db_volume/_data:/var/opt/mssql/data'
- './db_volume/_log:/var/opt/mssql/log'
- './db_volume/_log:/var/opt/mssql/secrets'
ports:
- "1450:1433"
attractionteka_server:
image: 12345flex402/attractiontekaserver
build:
context: ./Attractionteka.Backend
dockerfile: ../deploy/backend.dockerfile
depends_on:
sqldb:
condition: service_healthy
restart: on-failure
ports:
- "5000:80"
extra_hosts:
- "host.docker.internal:host-gateway"
attractionteka_client:
image: 12345flex402/attractiontekaclient
build:
context: ./Attractionteka.Frontend
dockerfile: ../deploy/frontend.dockerfile
environment:
NODE_OPTIONS: --openssl-legacy-provider
ports:
- "3000:3000"