From 9ad4b80171fd9e594295f3428e473114d4d236cd Mon Sep 17 00:00:00 2001 From: kavindu gunathilake Date: Mon, 25 Mar 2024 01:32:53 +0530 Subject: [PATCH] render.yaml --- render.yaml | 193 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 193 insertions(+) create mode 100644 render.yaml diff --git a/render.yaml b/render.yaml new file mode 100644 index 00000000..fe9b58c9 --- /dev/null +++ b/render.yaml @@ -0,0 +1,193 @@ +services: + - name: backend + env: [] + startCommand: [] + envVars: + - key: MYSQL_ROOT_PASSWORD + value: admin + healthCheckPath: / + healthCheckPort: 8000 + httpPort: 8000 + dockerfilePath: Dockerfile + buildCommand: "" + buildPath: "" + useDockerBuildKit: false + includeDockerConfig: false + diskSizeMB: 256 + + - name: configurator + env: [] + startCommand: [] + envVars: + - key: DB_HOST + value: db + - key: DB_PORT + value: "3306" + - key: REDIS_CACHE + value: redis-cache:6379 + - key: REDIS_QUEUE + value: redis-queue:6379 + - key: SOCKETIO_PORT + value: "9000" + healthCheckPath: / + healthCheckPort: 8000 + httpPort: 8000 + dockerfilePath: Dockerfile + buildCommand: "" + buildPath: "" + useDockerBuildKit: false + includeDockerConfig: false + diskSizeMB: 256 + + - name: create-site + env: [] + startCommand: [] + envVars: + - key: DB_HOST + value: db + - key: DB_PORT + value: "3306" + - key: REDIS_CACHE + value: redis-cache:6379 + - key: REDIS_QUEUE + value: redis-queue:6379 + - key: SOCKETIO_PORT + value: "9000" + healthCheckPath: / + healthCheckPort: 8000 + httpPort: 8000 + dockerfilePath: Dockerfile + buildCommand: "" + buildPath: "" + useDockerBuildKit: false + includeDockerConfig: false + diskSizeMB: 256 + + - name: db + env: [] + startCommand: [] + envVars: + - key: MYSQL_ROOT_PASSWORD + value: admin + healthCheckPath: / + healthCheckPort: 3306 + httpPort: 3306 + dockerfilePath: "" + buildCommand: "" + buildPath: "" + useDockerBuildKit: false + includeDockerConfig: false + diskSizeMB: 256 + + - name: frontend + env: [] + startCommand: [] + envVars: + - key: BACKEND + value: backend:8000 + - key: FRAPPE_SITE_NAME_HEADER + value: frontend + - key: SOCKETIO + value: websocket:9000 + - key: UPSTREAM_REAL_IP_ADDRESS + value: 127.0.0.1 + - key: UPSTREAM_REAL_IP_HEADER + value: X-Forwarded-For + - key: UPSTREAM_REAL_IP_RECURSIVE + value: "off" + - key: PROXY_READ_TIMEOUT + value: "120" + - key: CLIENT_MAX_BODY_SIZE + value: "50m" + healthCheckPath: / + healthCheckPort: 8080 + httpPort: 8080 + dockerfilePath: Dockerfile + buildCommand: "" + buildPath: "" + useDockerBuildKit: false + includeDockerConfig: false + diskSizeMB: 256 + + - name: queue-long + env: [] + startCommand: [] + envVars: [] + healthCheckPath: / + healthCheckPort: 8000 + httpPort: 8000 + dockerfilePath: "" + buildCommand: "" + buildPath: "" + useDockerBuildKit: false + includeDockerConfig: false + diskSizeMB: 256 + + - name: queue-short + env: [] + startCommand: [] + envVars: [] + healthCheckPath: / + healthCheckPort: 8000 + httpPort: 8000 + dockerfilePath: "" + buildCommand: "" + buildPath: "" + useDockerBuildKit: false + includeDockerConfig: false + diskSizeMB: 256 + + - name: redis-queue + env: [] + startCommand: [] + envVars: [] + healthCheckPath: / + healthCheckPort: 6379 + httpPort: 6379 + dockerfilePath: "" + buildCommand: "" + buildPath: "" + useDockerBuildKit: false + includeDockerConfig: false + diskSizeMB: 256 + + - name: redis-cache + env: [] + startCommand: [] + envVars: [] + healthCheckPath: / + healthCheckPort: 6379 + httpPort: 6379 + dockerfilePath: "" + buildCommand: "" + buildPath: "" + useDockerBuildKit: false + includeDockerConfig: false + diskSizeMB: 256 + + - name: scheduler + env: [] + startCommand: [] + envVars: [] + healthCheckPath: / + healthCheckPort: 8000 + httpPort: 8000 + dockerfilePath: "" + buildCommand: "" + buildPath: "" + useDockerBuildKit: false + includeDockerConfig: false + diskSizeMB: 256 + + - name: websocket + env: [] + startCommand: [] + envVars: [] + healthCheckPath: / + healthCheckPort: 9000 + httpPort: 9000 + dockerfilePath: "" + buildCommand: "" + buildPath: "" + useDockerBuildKit: false + includeDockerConfig: false