-
Notifications
You must be signed in to change notification settings - Fork 321
Expand file tree
/
Copy pathcompose.dev.yml
More file actions
62 lines (59 loc) · 1.53 KB
/
compose.dev.yml
File metadata and controls
62 lines (59 loc) · 1.53 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
55
56
57
58
59
60
61
62
---
services:
web:
container_name: cset-web-dev
hostname: web
build:
context: CSETWebNg
dockerfile: Dockerfile.dev
restart: unless-stopped
stdin_open: true
tty: true
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
# Override host ports via WEB_PORT without editing this file.
- ${WEB_PORT:-4200}:4200
- ${WEB_TLS_PORT:-443}:443
volumes:
# Mount source code for hot reload
- ./CSETWebNg:/var/www
# Exclude node_modules to prevent host override
- web_node_modules:/var/www/node_modules
api:
container_name: cset-api-dev
hostname: api
build:
context: CSETWebApi
dockerfile: Dockerfile.dev
restart: unless-stopped
ports:
# Override host port via API_PORT without editing this file.
- "${API_PORT:-5000}:5000"
env_file:
- .env
volumes:
# Mount source code for hot reload
- ./CSETWebApi:/app
# Exclude build artifacts to prevent conflicts
- /app/CSETWeb_Api/CSETWeb_ApiCore/bin
- /app/CSETWeb_Api/CSETWeb_ApiCore/obj
depends_on:
- sqlserver
sqlserver:
container_name: cset-mssql-dev
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:
web_node_modules: