From 88e44ed91da0fda7be26c107ed7dd94e06b4a5d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Verg=C3=A9s?= Date: Fri, 22 Sep 2023 13:42:50 +0200 Subject: [PATCH] add some docs --- docker-compose.yml | 1 + .../modules/develop/pages/manual/operations/deployment.adoc | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index d8beeb40..cc8f1f02 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,6 +11,7 @@ services: - RACK_ENV=production - RAILS_ENV=production - REDIS_URL=redis://redis:6379 + - CORS_ORIGIN_ALLOWED=* volumes: - ./docker-entrypoint.sh:/docker-entrypoint.sh ports: diff --git a/docs/modules/develop/pages/manual/operations/deployment.adoc b/docs/modules/develop/pages/manual/operations/deployment.adoc index 823be2bd..6d199838 100644 --- a/docs/modules/develop/pages/manual/operations/deployment.adoc +++ b/docs/modules/develop/pages/manual/operations/deployment.adoc @@ -35,6 +35,12 @@ We'll need to set up an array of environment variables in order for the sever to ** `REDIS_URL` with the full URL of the Redis instance; * ActiveRecord: ** The secrets of the cloud storage of your choice; + ** For instance, if using a compatible AWS provider you should define: + *** ACTIVE_STORAGE_SERVICE=amazon + *** AWS_ACCESS_KEY_ID=******** + *** AWS_SECRET_ACCESS_KEY=******** + *** AWS_REGION=eu-west-1 + *** AWS_BUCKET=bucket-name * CORS: ** `CORS_ORIGIN_ALLOWED` with the list of hosts of Decidim instances that will use this Bulletin Board. If you don't know what Decidim instances will use this Bulletin Board, you can put `*`