From 8dce832e6f00da0fdd36db27059fbe9a313bd988 Mon Sep 17 00:00:00 2001 From: Eimantas Stonys Date: Wed, 17 Jan 2024 14:50:00 +0000 Subject: [PATCH] Fixes to resolve render issues --- .../unreleased/bug/2275_render_deployment_fixes.json | 7 +++++++ deploy/render/Dockerfile | 6 +++++- docs/installation/install-on-render.md | 4 ++-- render.yaml | 2 +- 4 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 changelog/entries/unreleased/bug/2275_render_deployment_fixes.json diff --git a/changelog/entries/unreleased/bug/2275_render_deployment_fixes.json b/changelog/entries/unreleased/bug/2275_render_deployment_fixes.json new file mode 100644 index 0000000000..3b41fda689 --- /dev/null +++ b/changelog/entries/unreleased/bug/2275_render_deployment_fixes.json @@ -0,0 +1,7 @@ +{ + "type": "bug", + "message": "Fixes for Render deployments after changes for their plans.", + "issue_number": 2275, + "bullet_points": [], + "created_at": "2024-01-16" +} diff --git a/deploy/render/Dockerfile b/deploy/render/Dockerfile index b40767f3e5..0b363312a0 100644 --- a/deploy/render/Dockerfile +++ b/deploy/render/Dockerfile @@ -3,6 +3,10 @@ ARG FROM_IMAGE=baserow/baserow:1.22.2 # hadolint ignore=DL3006 FROM $FROM_IMAGE as image_base -RUN apt-get remove -y postgresql postgresql-contrib redis-server +RUN apt-get update \ + && apt-get remove -y postgresql postgresql-contrib redis-server \ + && apt-get clean \ + && apt-get autoremove -y \ + && rm -rf /var/lib/apt/lists/* COPY deploy/render/render_env.sh /baserow/supervisor/env/render_env.sh diff --git a/docs/installation/install-on-render.md b/docs/installation/install-on-render.md index 2d66c9f0db..bc38787f24 100644 --- a/docs/installation/install-on-render.md +++ b/docs/installation/install-on-render.md @@ -6,12 +6,12 @@ [Render](https://render.com) is a modern alternative to Heroku, a platform as a service. Render enables you to build, run and operate applications entirely in the cloud. We have -created a template that allows you to easily install Baserow on the "Starter Plus" paid +created a template that allows you to easily install Baserow on the "Standard" paid plan and the paid Postgres plan provided by Render. ## The template -> Currently, we only support running Baserow on the $17 per month "Starter Plus" Render +> Currently, we only support running Baserow on the $25 per month "Standard" Render > plan additionally with their $7 per month Postgres plan for performance reasons. [![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://gitlab.com/baserow/baserow/tree/master) diff --git a/render.yaml b/render.yaml index a278a6eb52..1c5283d6ca 100644 --- a/render.yaml +++ b/render.yaml @@ -2,7 +2,7 @@ services: - type: web name: baserow env: docker - plan: starter plus + plan: standard dockerfilePath: ./deploy/render/Dockerfile envVars: - key: SECRET_KEY