Skip to content

Commit 9c6f0db

Browse files
authored
Create deploy.template.yaml
1 parent d9a793d commit 9c6f0db

File tree

1 file changed

+97
-0
lines changed

1 file changed

+97
-0
lines changed

.do/deploy.template.yaml

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
spec:
2+
name: opensigndb
3+
ingress:
4+
rules:
5+
- component:
6+
name: amolshejole-opensignserver
7+
match:
8+
path:
9+
prefix: /api
10+
- component:
11+
name: opensigndb
12+
match:
13+
path:
14+
prefix: /db
15+
services:
16+
- name: amolshejole-opensign
17+
run_command: npm run start
18+
http_port: 8080
19+
image:
20+
registry: amolshejole
21+
registry_type: DOCKER_HUB
22+
repository: opensign
23+
tag: main
24+
envs:
25+
- key: CI
26+
value: "false"
27+
- key: GENERATE_SOURCEMAP
28+
value: "false"
29+
- key: PUBLIC_URL
30+
scope: RUN_TIME
31+
value: ${APP_URL}
32+
- key: REACT_APP_SEVERURL
33+
scope: RUN_TIME
34+
value: ${APP_URL}/api/app
35+
- key: REACT_APP_APPID
36+
scope: RUN_TIME
37+
value: opensignnaxn
38+
- http_port: 8080
39+
image:
40+
registry: amolshejole
41+
registry_type: DOCKER_HUB
42+
repository: opensignserver
43+
tag: main
44+
name: amolshejole-opensignserver
45+
run_command: npm run start
46+
envs:
47+
- key: APP_ID
48+
value: opensignnaxn
49+
- key: appName
50+
value: open_sign_server
51+
- key: MASTER_KEY
52+
scope: RUN_TIME
53+
- key: MONGODB_URI
54+
scope: RUN_TIME
55+
value: mongodb://root:example@opensigndb/OpenSignDB?authSource=admin
56+
- key: PARSE_MOUNT
57+
scope: RUN_TIME
58+
value: /app
59+
- key: SERVER_URL
60+
scope: RUN_TIME
61+
value: ${APP_URL}/api/app
62+
- key: DO_SPACE
63+
scope: RUN_TIME
64+
value: opensigntw3d
65+
- key: DO_ENDPOINT
66+
scope: RUN_TIME
67+
value: ams3.digitaloceanspaces.com
68+
- key: DO_BASEURL
69+
scope: RUN_TIME
70+
value: https://opensigntw3d.ams3.digitaloceanspaces.com
71+
- key: DO_ACCESS_KEY_ID
72+
scope: RUN_TIME
73+
- key: DO_SECRET_ACCESS_KEY
74+
scope: RUN_TIME
75+
- key: DO_REGION
76+
scope: RUN_TIME
77+
value: us-west
78+
- key: MAILGUN_API_KEY
79+
scope: RUN_TIME
80+
- key: MAILGUN_DOMAIN
81+
scope: RUN_TIME
82+
- key: MAILGUN_SENDER
83+
scope: RUN_TIME
84+
- key: PFX_BASE64
85+
scope: RUN_TIME
86+
- name: opensigndb
87+
http_port: 27017
88+
dockerfile_path: Dockerfile
89+
git:
90+
repo_clone_url: https://github.com/Qik-Ai-Org/MongoDocker.git
91+
branch: main
92+
envs:
93+
- key: SECRET_KEY_BASE
94+
scope: RUN_TIME
95+
- key: DATABASE_URL
96+
scope: RUN_TIME
97+
value: mongodb://root:example@opensigndb/OpenSignDB?authSource=admin

0 commit comments

Comments
 (0)