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
In a discussion about installing Discourse via environment variables on AWS CDK, Wurzelseppi asks if it’s possible to install Discourse silently without using ./discourse-setup. thoka explains that ./discourse-setup is designed for beginners and generates containers/app.yml, which can be customized for advanced setups. They also link to a thread on automating initial configuration via app.yml. NateDhaliwal advises against unsupported installations, noting that environment variables are stored in app.yml and that standard installs offer better support. pfaffman suggests using launcher --start-cmd to extract environment variables but notes additional steps like database migration, asset precompilation, and image building are still required — recommending understanding the standard install first. Wurzelseppi concludes they’ll focus on setting up a correct instance manually before considering automation, expressing gratitude for the community’s support. The thread highlights that while automation is possible, Discourse’s standard container-based setup via app.yml is the recommended path, especially for production or complex environments.
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)
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.
Not sure that what I´m trying to do makes much sense ![]()
I´ll concentrate on setting my instance up correctly, and see if it is worth the time to automate it afterwards.
Thanks all the same.
Always unbelievable to see, how much help you get here.
Big
for your work
Cheers,
WS