Skip to content

Commit

Permalink
add some docs
Browse files Browse the repository at this point in the history
  • Loading branch information
microstudi committed Sep 22, 2023
1 parent 8d0de46 commit 88e44ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions docs/modules/develop/pages/manual/operations/deployment.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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 `*`
Expand Down

0 comments on commit 88e44ed

Please sign in to comment.