-
Notifications
You must be signed in to change notification settings - Fork 322
Expand file tree
/
Copy pathcompose.yml
More file actions
54 lines (53 loc) · 1.29 KB
/
compose.yml
File metadata and controls
54 lines (53 loc) · 1.29 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
services:
web:
container_name: cset-web
hostname: web
image: ghcr.io/cisagov/cset/web:latest
build:
context: CSETWebNg
args:
- CA_CERT_URL=${CA_CERT_URL:-}
restart: unless-stopped
stdin_open: true
tty: true
environment:
- API_PORT=${API_PORT:-5000}
- API_HOST=${API_HOST:-}
- API_PROTOCOL=${API_PROTOCOL:-}
ports:
# Override host ports via WEB_PORT / WEB_TLS_PORT without editing this file.
- ${WEB_PORT:-4200}:80
- ${WEB_TLS_PORT:-443}:443
api:
container_name: cset-api
hostname: api
image: ghcr.io/cisagov/cset/api:latest
build:
context: CSETWebApi
args:
- CA_CERT_URL=${CA_CERT_URL:-}
restart: unless-stopped
ports:
# Override host port via API_PORT without editing this file.
- "${API_PORT:-5000}:5000"
env_file:
- .env
depends_on:
- sqlserver
sqlserver:
container_name: cset-mssql
hostname: mssql
image: "mcr.microsoft.com/mssql/server:2022-CU13-ubuntu-22.04"
platform: linux/amd64
restart: unless-stopped
env_file:
- .env
ports:
- "1433:1433"
volumes:
- mssql_data:/var/opt/mssql
- ./backup:/var/opt/mssql/backup
- ./DatabaseScripts:/var/opt/mssql/scripts
volumes:
mssql_data: