From 9c6f0dbc2e9a5b2e768e50be958b3697933372f0 Mon Sep 17 00:00:00 2001 From: Amol Date: Wed, 25 Oct 2023 19:20:20 +0530 Subject: [PATCH] Create deploy.template.yaml --- .do/deploy.template.yaml | 97 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 .do/deploy.template.yaml diff --git a/.do/deploy.template.yaml b/.do/deploy.template.yaml new file mode 100644 index 0000000..2932243 --- /dev/null +++ b/.do/deploy.template.yaml @@ -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