Install Discourse by environment variables in host

Hi all,

just setting up an discourse environment with AWS CDK (Typescript).
Wanted to ask, if there is a way to install discourse silently without discourse-setup over environment variables or something similar ?

Thanks and Greetings,

WS

Configuration via ./discourse-setup is a way to support novices to get discourse up and running easily.

For any advanced usage, you will configure a container editing yml config files in the containers directory.

./discourse-setup creates containers/app.yml for you, which you can use as a base config for other customizations.

If you are asking to automate further customizations, this thread might be helpful: Initial configuration directly from `app.yml` (discourse-docker / INSTALL-cloud.md)

1 Like

Maybe there is, but it will be much better if you do a standard install instead of an unsupported-install . You can receive better support.
Note that environment variables are stored in app.yml in Discourse.

You can run launcher --start-cmd to get the needed env. You typically still need to migrate the database and precompile assets, and build an image that you push to a repo.

You’ll need to see how things work with a standard install to figure out how to do what you are trying to do.