forked from uwrit/leaf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
61 lines (55 loc) · 1.12 KB
/
docker-compose.yml
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
version: "3.0"
services:
mssql:
build:
context: ./src/db/build
args:
- sapw=GAOchuang900529
ports:
- "1433:1433"
volumes:
- "leaf-mssql:/var/opt/mssql"
- "/src/db/bak:/bak"
networks:
local:
aliases:
- mssql
node:
build: ./src/ui-client
restart: on-failure
ports:
- 3000:3000
#command: ["npm", "start"]
depends_on:
- mssql
# - coreapi
# coreapi:
# build:
# context: ./src/server
# dockerfile: ./src/server/Dockerfile.dev
# ports:
# - "5001:5001"
# depends_on:
# - mssql
# volumes:
# - ./src/server:/app
# - ${KEYS}:/.keys
# - ${LOGGING_DIR}:/logs
# environment:
# LEAF_JWT_CERT: ${JWT_CERT}
# LEAF_JWT_KEY: ${JWT_KEY}
# LEAF_JWT_KEY_PW: ${JWT_KEY_PW}
# LEAF_APP_DB: ${APP_DB}
# LEAF_CLIN_DB: ${CLIN_DB}
# SERILOG_DIR: /logs
# working_dir: "/app/API"
# command: ["dotnet", "run"]
# networks:
# local:
# aliases:
# - coreapi
volumes:
leaf-mssql:
networks:
local:
driver: bridge