Skip to content

Commit

Permalink
Create deploy.template.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
nxglabs committed Oct 25, 2023
1 parent d9a793d commit 9c6f0db
Showing 1 changed file with 97 additions and 0 deletions.
97 changes: 97 additions & 0 deletions .do/deploy.template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
spec:
name: opensigndb
ingress:
rules:
- component:
name: amolshejole-opensignserver
match:
path:
prefix: /api
- component:
name: opensigndb
match:
path:
prefix: /db
services:
- name: amolshejole-opensign
run_command: npm run start
http_port: 8080
image:
registry: amolshejole
registry_type: DOCKER_HUB
repository: opensign
tag: main
envs:
- key: CI
value: "false"
- key: GENERATE_SOURCEMAP
value: "false"
- key: PUBLIC_URL
scope: RUN_TIME
value: ${APP_URL}
- key: REACT_APP_SEVERURL
scope: RUN_TIME
value: ${APP_URL}/api/app
- key: REACT_APP_APPID
scope: RUN_TIME
value: opensignnaxn
- http_port: 8080
image:
registry: amolshejole
registry_type: DOCKER_HUB
repository: opensignserver
tag: main
name: amolshejole-opensignserver
run_command: npm run start
envs:
- key: APP_ID
value: opensignnaxn
- key: appName
value: open_sign_server
- key: MASTER_KEY
scope: RUN_TIME
- key: MONGODB_URI
scope: RUN_TIME
value: mongodb://root:example@opensigndb/OpenSignDB?authSource=admin
- key: PARSE_MOUNT
scope: RUN_TIME
value: /app
- key: SERVER_URL
scope: RUN_TIME
value: ${APP_URL}/api/app
- key: DO_SPACE
scope: RUN_TIME
value: opensigntw3d
- key: DO_ENDPOINT
scope: RUN_TIME
value: ams3.digitaloceanspaces.com
- key: DO_BASEURL
scope: RUN_TIME
value: https://opensigntw3d.ams3.digitaloceanspaces.com
- key: DO_ACCESS_KEY_ID
scope: RUN_TIME
- key: DO_SECRET_ACCESS_KEY
scope: RUN_TIME
- key: DO_REGION
scope: RUN_TIME
value: us-west
- key: MAILGUN_API_KEY
scope: RUN_TIME
- key: MAILGUN_DOMAIN
scope: RUN_TIME
- key: MAILGUN_SENDER
scope: RUN_TIME
- key: PFX_BASE64
scope: RUN_TIME
- name: opensigndb
http_port: 27017
dockerfile_path: Dockerfile
git:
repo_clone_url: https://github.com/Qik-Ai-Org/MongoDocker.git
branch: main
envs:
- key: SECRET_KEY_BASE
scope: RUN_TIME
- key: DATABASE_URL
scope: RUN_TIME
value: mongodb://root:example@opensigndb/OpenSignDB?authSource=admin

0 comments on commit 9c6f0db

Please sign in to comment.