Skip to content

Production Wokflow Issues #120

@RonanMorgan

Description

@RonanMorgan

Hello !

I encountered several issues while trying to use Decidim for my NGO so I list them here in case someone else want to use this docker compose in production :

  1. with the current image used it seems that you cannot use an S3 in order to save the file. You can of course use the "local" option but this is really not a good practice in production.
    This is explained in the documentation : https://docs.decidim.org/en/develop/configure/environment_variables
    I think an other image should be available (with a new tag "S3" maybe ?)

  2. It seems that this env var should be activated the first time because the hello world script need to reset the db ?
    DISABLE_DATABASE_ENVIRONMENT_CHECK=1
    This is pretty worrying, I am still trying to understand this part, maybe the HelloWorld script should not be used in production mode.

  3. The "seed" part of the HelloWorld script is not compatible with the validation test of the database in production mode
    ActiveRecord::RecordInvalid: Validation failed: Organization must exist, Hero image The file is not attached to any organization (ActiveRecord::RecordInvalid)

I am still on it but I will update it later,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions