-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (45 loc) · 1.56 KB
/
docker-compose.yml
File metadata and controls
46 lines (45 loc) · 1.56 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
services:
modelseed-ui-staging:
build:
context: .
args:
- NEXT_PUBLIC_GIT_VERSION=${NEXT_PUBLIC_GIT_VERSION}
- NEXT_PUBLIC_GIT_COMMIT=${NEXT_PUBLIC_GIT_COMMIT}
- NEXT_PUBLIC_GIT_BRANCH=${NEXT_PUBLIC_GIT_BRANCH}
- NEXT_PUBLIC_DEPLOY_DATE=${NEXT_PUBLIC_DEPLOY_DATE}
- NEXT_PUBLIC_MODELSEED_API_URL=https://staging.modelseed.org/PMS/
- NEXT_PUBLIC_USE_MODELSEED_API=true
- NEXT_PUBLIC_USE_NEW_PROXY=true
container_name: modelseed_ui_staging
ports:
- "3000:3000"
restart: unless-stopped
environment:
- NODE_ENV=production
- NEXT_PUBLIC_MODELSEED_API_URL=https://staging.modelseed.org/PMS/
- NEXT_PUBLIC_USE_MODELSEED_API=true
- NEXT_PUBLIC_USE_NEW_PROXY=true
profiles:
- staging
modelseed-ui-production:
build:
context: .
args:
- NEXT_PUBLIC_GIT_VERSION=${NEXT_PUBLIC_GIT_VERSION}
- NEXT_PUBLIC_GIT_COMMIT=${NEXT_PUBLIC_GIT_COMMIT}
- NEXT_PUBLIC_GIT_BRANCH=${NEXT_PUBLIC_GIT_BRANCH}
- NEXT_PUBLIC_DEPLOY_DATE=${NEXT_PUBLIC_DEPLOY_DATE}
- NEXT_PUBLIC_MODELSEED_API_URL=https://modelseed.org/PMS/
- NEXT_PUBLIC_USE_MODELSEED_API=true
- NEXT_PUBLIC_USE_NEW_PROXY=true
container_name: modelseed_ui_production
ports:
- "3001:3000"
restart: unless-stopped
environment:
- NODE_ENV=production
- NEXT_PUBLIC_MODELSEED_API_URL=https://modelseed.org/PMS/
- NEXT_PUBLIC_USE_MODELSEED_API=true
- NEXT_PUBLIC_USE_NEW_PROXY=true
profiles:
- production