Commit graph

107 commits

Author SHA1 Message Date
David Taylor
107ffb40fe
Revert "Add nginx config file and support for outlets ()" ()
This reverts commit 01cbf07622.
2025-01-14 16:44:52 +00:00
Bianca Nenciu
01cbf07622
Add nginx config file and support for outlets ()
The nginx config file used to be copied from the discourse/discourse
repository, but it has been now moved in this project, closer to the
place where it is used.

The config has several 'include' statements that implement support for
outlets that templates can then use to extend the default configuration
for various features. This is an alternative to the "find & replace"
hacks.
2025-01-14 17:56:45 +02:00
Alan Guo Xiang Tan
3596dc1686
FEATURE: Update discourse-setup to prompt for MaxMind account ID ()
In order to download the free MaxMind GeoLite2 databases, an account ID
and license key is required going forward. This commit updates
`discourse-setup` to start prompting the user to provide the MaxMind
Account ID first before asking for the MaxMind license key. If the user
does not provide the Account ID, the script will not prompt for the
license key as we assume the user has opted out.

We are aware that we don't have a reliable way to test for changes to
the `discourse-setup` script but it is what it is at this point in time.
We intend to invest resources in improving things in the future but now
is not the time.
2024-05-09 15:40:01 +08:00
Evgeni Golov
352d9dbe98 use DISCOURSE_BASE_URL in mail-receiver sample
while `DISCOURSE_MAIL_ENDPOINT` is still accepted by the mail-receiver code, the documentation prefers `DISCOURSE_BASE_URL` and so should this example

see deae52039f/README.md
2024-02-29 22:14:35 +08:00
Michael Brown
7a7c47eefa
Add template to enable an IPv6 listener
By default nginx in the container only listens for IPv4 connections. Some users
want to enable direct IPv6 connectivity to the container either via forwarding
or NAT. This provides an easy method to allow that.
2023-04-04 13:36:41 -04:00
David Taylor
43e16ca702
DEV: Remove Ember CLI flag from templates ()
Ember CLI assets are now the only option in Discourse. This flag is now a no-op.
2022-06-20 19:12:17 +01:00
Jay Pfaffman
66a6ced341 FIX: add EMBER_CLI_PROD_ASSETS: 1 to web_only.yml
I just noticed that my test of this wasn't much of a test since the change wasn't applied to web_only...
2021-11-12 12:07:47 -03:00
Robin Ward
e73dd1e8b7
Use Ember CLI production assets by defaults for new installs () 2021-11-04 14:46:08 -04:00
Rafael dos Santos Silva
8d1b64de32 FIX: Use example domain in mail receiver example config
Context at https://meta.discourse.org/t/-/193664/4?u=falco

Co-authored-by: Jay Pfaffman <jay@literatecomputing.com>
2021-08-16 15:26:29 -03:00
Jay Pfaffman
cc5b00a49e feature: discourse-setup email config improvements 2021-02-22 16:27:38 -03:00
YAEGASHI Takeshi
a4b6986b5f Ensure it overrides all locale related variables
LC_ALL, LANG and LANGUAGE are set to en_US.UTF-8 in the docker image.
The config should override all of them when other locale is needed.
Otherwise it fails to create a DB with the proper locale setting.
2021-02-18 14:04:22 -03:00
Rafael dos Santos Silva
52dc3cc290
Expose SMTP_DOMAIN Global Setting in sample file ()
This is useful when using some SMTP providers, like Google Apps

https://meta.discourse.org/t/discourse-smtp-sends-ehlo-localhost-instead-of-domain-breaking-google-smtp-relay/176755/6?u=falco
2021-01-21 12:05:26 -03:00
Jeff Atwood
3f00c695ad
Add maxmind geolocation IP key to web template ()
Add maxmind geolocation IP key to web only template (commented out)
2020-12-21 12:46:01 -08:00
Jeff Atwood
d9f2f312c3
Update standalone.yml () 2020-12-21 12:17:41 -08:00
Stephen
468f1f9cb7
Reflect Discourse default of HTTPS ()
Discourse installs HTTPS as standard, so mail-receiver should probably reflect this too.
2020-10-18 13:01:09 -07:00
Blake Erickson
d775b46237 update mail-receiver version 2019-11-15 07:25:07 -07:00
Jay Pfaffman
212a9ea885 Add commented sections to enable incoming TLS
Use Let's Encrypt certs from app to enable incoming TLS for mail-receiver.
2019-08-22 20:07:40 -03:00
Bhanu
303eb0309c Update CDN URL in samples to have a protocol
* authored by Bhanu, reworded slightly by supermathie
2019-02-20 10:33:27 -05:00
Jay Pfaffman
04a06dd05e fix old awk, better error check, fix data.yml for 2container 2018-04-13 05:57:27 -07:00
Jay Pfaffman
275735af30 FIX discourse-setup--better sanity checking 2018-04-05 15:59:32 -07:00
Jay Pfaffman
23c730f0ae Update samples ()
* update web_only.yml to match app.yml

* update data.yml to match standalone.yml

* missing quotes around variable
2017-12-12 15:48:23 +11:00
Matt Palmer
0822df60c8 Update sample mail-receiver to latest released version 2017-06-28 10:12:43 +10:00
Guo Xiang Tan
2d8ea72a4b Revert "Install Discourse narrative bot by default."
This reverts commit fcdd39da61.
2017-05-24 16:53:37 +08:00
Guo Xiang Tan
fcdd39da61 Install Discourse narrative bot by default. 2017-05-19 13:59:47 +08:00
Jay Pfaffman
f17af9519e allow re-run of discourse-setup; pull defaults from standalone.yml 2017-03-03 15:52:14 -08:00
Matt Palmer
18d87dd349 Correct API key env var 2016-09-01 12:44:23 +10:00
Matt Palmer
93e6a6097d Don't update pups in mail-receiver 2016-09-01 11:01:46 +10:00
Matt Palmer
a502da0e85 We'll need MAIL_DOMAIN, too, for mail-receiver 2016-09-01 11:01:46 +10:00
Matt Palmer
5a92b90f08 Add a mail-receiver sample template
You can guess where this is going...
2016-08-31 14:56:53 +10:00
Jeff Atwood
650f4c25d4 use consistent fake email addresses 2016-04-27 00:44:16 -07:00
Jeff Atwood
a5441ecf41 move email setting closer to SMTP settings 2016-04-21 16:01:29 -07:00
Jeff Atwood
3a83511c49 add plugin info link 2016-04-20 16:46:50 -07:00
Jeff Atwood
0693cb71c6 Update standalone.yml 2016-04-20 15:51:35 -07:00
Jeff Atwood
aff5ebcf27 Merge pull request from pfaffman/add_memconfig
Add memconfig
2016-04-20 13:39:22 -07:00
Jeff Atwood
703cd7f296 more refinements 2016-04-20 11:54:52 -07:00
Jay Pfaffman
64a5820498 Change only commented-out values of UNICORN_WORKERS and db_shared_buffers 2016-04-20 13:21:14 -05:00
Jeff Atwood
a1041f188a better layout 2016-04-20 11:15:26 -07:00
Jeff Atwood
f5713ebf6f clean up template a lot 2016-04-20 11:10:48 -07:00
Jeff Atwood
bcc8b51260 we don't need a TODO here 2016-04-20 10:55:54 -07:00
Jeff Atwood
a7faf6b33f Merge pull request from pfaffman/add_memconfig
Don't set db_work_mem
2016-04-20 10:29:06 -07:00
Jay Pfaffman
b2f7b7a0d0 Don't set db_work_mem 2016-04-20 12:19:16 -05:00
Jeff Atwood
a7e2069eaa Merge pull request from pfaffman/add_memconfig
Add memconfig to launcher: Configure defaults based on available RAM
2016-04-20 10:14:06 -07:00
Jeff Atwood
d5b3a8a3f8 we don't need a TODO here 2016-04-20 10:12:44 -07:00
Jay Pfaffman
f8c887b627 Add memconfig to launcher: Configure defaults based on available RAM
Creates or modifies config of db_shared_buffers, db_work_mem, and
UNICORN_WORKERS based on available RAM. Parameters not set in config
file (i.e., commented out), are left unchanged and a warning is printed.
Uses samples/standalone_template.yml as basis, but if accepted, I
recommend uncommenting these defaults in standalone.yml and using it
instead.
2016-04-20 10:48:39 -05:00
Dan Dascalescu
871e57b0e7 Improve LETSENCRYPT_ACCOUNT_EMAIL comment ()
* Improve LETSENCRYPT_ACCOUNT_EMAIL comment
2016-04-20 12:11:09 +08:00
Dan Dascalescu
78ad0ecdc1 "Comment out" -> "Uncomment" 2016-04-19 17:12:17 -07:00
Florian Bender
c6dd6f9d7f Add switch to override the default Docker hostname (fixes )
A new (optional) ENV var was added to the templates that instructs the
`launcher` script to use the DISCOURSE_HOSTNAME as the Docker hostname
(via the -h/--hostname option) instead of the default value of
`$hostname-$config`.
2016-04-01 12:27:37 +02:00
David Tye
95bbc001b0 SSL ready 2016-03-29 23:15:41 +01:00
David Tye
bfb121aae1 Make the installer aka root user aware that lets Encrypt can be installed 2016-03-29 23:15:10 +01:00
David Tye
b2764a96fd Lets Encrypt Should Become Default
Lets make Discourse have Lets Encrypt by default.
2016-03-29 23:03:53 +01:00