discourse_docker.git
6 years agoupdate web template to check for thpoff
Sam [Thu, 2 Aug 2018 07:38:44 +0000 (17:38 +1000)]
update web template to check for thpoff

6 years agoFEATURE: disable huge pages in PG, web and redis
Sam [Thu, 2 Aug 2018 07:00:20 +0000 (17:00 +1000)]
FEATURE: disable huge pages in PG, web and redis

6 years agoFEATURE: ability to turn off transparent huge pages on arbitrary programs
Sam [Thu, 2 Aug 2018 05:01:42 +0000 (15:01 +1000)]
FEATURE: ability to turn off transparent huge pages on arbitrary programs

6 years agoRevert "Add libicu-dev for charlock_holmes gem"
Gerhard Schlager [Wed, 1 Aug 2018 20:33:33 +0000 (22:33 +0200)]
Revert "Add libicu-dev for charlock_holmes gem"

This reverts commit 2ad56e6b097b80833695ef644574fd2e511338ed.

6 years agoAdd tcmalloc as an optional allocator
Sam [Tue, 31 Jul 2018 02:16:41 +0000 (12:16 +1000)]
Add tcmalloc as an optional allocator

6 years agofixes prettier version at 1.14.0
Joffrey JAFFEUX [Mon, 30 Jul 2018 15:43:26 +0000 (11:43 -0400)]
fixes prettier version at 1.14.0

6 years agoMake launcher work with french locale (among others) (#395)
Michael Scherer [Mon, 30 Jul 2018 06:21:25 +0000 (08:21 +0200)]
Make launcher work with french locale (among others) (#395)

On several locales others than C, A-Z might match more than A to Z, due
to different collation order.

See https://unix.stackexchange.com/questions/227070/why-does-a-z-match-lowercase-letters-in-bash
for explanation.

6 years agoImproved Let's Encrypt email argument (#400)
Rishabh [Mon, 30 Jul 2018 00:14:44 +0000 (05:44 +0530)]
Improved Let's Encrypt email argument (#400)

6 years agoAdd libicu-dev for charlock_holmes gem
Gerhard Schlager [Thu, 26 Jul 2018 12:18:04 +0000 (14:18 +0200)]
Add libicu-dev for charlock_holmes gem

6 years agoUse github archive for ImageMagick instead.
Guo Xiang Tan [Tue, 24 Jul 2018 06:22:50 +0000 (14:22 +0800)]
Use github archive for ImageMagick instead.

6 years agoBump base image for launcher.
Guo Xiang Tan [Mon, 23 Jul 2018 03:45:37 +0000 (11:45 +0800)]
Bump base image for launcher.

6 years agoRemove replace commands that are no longer required in Imagemagick7.
Guo Xiang Tan [Wed, 18 Jul 2018 01:53:14 +0000 (09:53 +0800)]
Remove replace commands that are no longer required in Imagemagick7.

6 years agoUpdate imagemagick to ImageMagick7.
Guo Xiang Tan [Tue, 17 Jul 2018 06:30:50 +0000 (14:30 +0800)]
Update imagemagick to ImageMagick7.

6 years agoFEATURE: Add the doctor (#396)
Jay Pfaffman [Thu, 12 Jul 2018 16:05:48 +0000 (18:05 +0200)]
FEATURE: Add the doctor (#396)

6 years agoAdd template that installs depencencies for MSSQL Server
Gerhard Schlager [Tue, 26 Jun 2018 15:45:16 +0000 (17:45 +0200)]
Add template that installs depencencies for MSSQL Server

6 years agoMerge pull request #394 from pfaffman/patch-1
Guo Xiang Tan [Mon, 25 Jun 2018 23:57:45 +0000 (07:57 +0800)]
Merge pull request #394 from pfaffman/patch-1

FIX: disk space check tests /shared

6 years agoInstall only sqlite3 gem for mbox import
Gerhard Schlager [Mon, 25 Jun 2018 11:38:12 +0000 (13:38 +0200)]
Install only sqlite3 gem for mbox import

6 years agoBump base image
Rafael dos Santos Silva [Fri, 15 Jun 2018 22:32:06 +0000 (19:32 -0300)]
Bump base image

6 years agoUpdate everything
Rafael dos Santos Silva [Wed, 13 Jun 2018 22:45:15 +0000 (19:45 -0300)]
Update everything

6 years agoBump base image
Rafael dos Santos Silva [Wed, 13 Jun 2018 15:56:45 +0000 (12:56 -0300)]
Bump base image

6 years agoBump discourse base image for fast swtich.
Guo Xiang Tan [Wed, 13 Jun 2018 08:36:57 +0000 (16:36 +0800)]
Bump discourse base image for fast swtich.

6 years agoAdd prettier to the base image
Rafael dos Santos Silva [Fri, 8 Jun 2018 14:06:02 +0000 (11:06 -0300)]
Add prettier to the base image

6 years agoRelease discourse:discourse_fast_switch:1.5.0.
Guo Xiang Tan [Wed, 6 Jun 2018 09:20:04 +0000 (17:20 +0800)]
Release discourse:discourse_fast_switch:1.5.0.

* Fast switch between Ruby 2.4.4 and Ruby 2.5.1

6 years agoUpdate pups repo to correct .git URL (#393)
Kim Gardner [Fri, 1 Jun 2018 03:22:42 +0000 (23:22 -0400)]
Update pups repo to correct .git URL (#393)

6 years agoFIX: disk space check tests /shared
Jay Pfaffman [Fri, 1 Jun 2018 02:29:09 +0000 (21:29 -0500)]
FIX: disk space check tests /shared

If `/shared` is not the same as `/`then the disk space test fails because it's testing the wrong partition.
For example, if `/` is too small you might create a separate partition for postgres so there will be enough room to update.

6 years agoUpdate latest jemalloc to 5.1.0
Rafael dos Santos Silva [Fri, 25 May 2018 20:33:22 +0000 (17:33 -0300)]
Update latest jemalloc to 5.1.0

6 years agoReduce log retention to 7 days out of the box
Sam [Tue, 1 May 2018 23:34:47 +0000 (09:34 +1000)]
Reduce log retention to 7 days out of the box
Remove notifempty so logs unconditionally rotate

6 years agoGenerate locale based on LANG before setting up Postgres.
Guo Xiang Tan [Thu, 26 Apr 2018 03:29:34 +0000 (11:29 +0800)]
Generate locale based on LANG before setting up Postgres.

6 years agoUpgrade libpng
Gerhard Schlager [Mon, 23 Apr 2018 10:06:40 +0000 (12:06 +0200)]
Upgrade libpng

6 years agoLegacy ImageMagick uses different folder name in archive
Gerhard Schlager [Mon, 23 Apr 2018 09:55:31 +0000 (11:55 +0200)]
Legacy ImageMagick uses different folder name in archive

6 years agoBumps ImageMagick version
Gerhard Schlager [Mon, 23 Apr 2018 08:51:52 +0000 (10:51 +0200)]
Bumps ImageMagick version

6 years agoPrompt user to remove old PG backup data cluster.
Guo Xiang Tan [Tue, 17 Apr 2018 05:55:02 +0000 (13:55 +0800)]
Prompt user to remove old PG backup data cluster.

6 years agoAdd instructions for users that do not want to upgrade at the moment.
Guo Xiang Tan [Tue, 17 Apr 2018 05:44:27 +0000 (13:44 +0800)]
Add instructions for users that do not want to upgrade at the moment.

6 years agoMerge pull request #392 from pfaffman/allow-old-awk
Jeff Atwood [Fri, 13 Apr 2018 23:40:44 +0000 (16:40 -0700)]
Merge pull request #392 from pfaffman/allow-old-awk

fix old awk, better error check, fix data.yml for 2container

6 years agofix old awk, better error check, fix data.yml for 2container
Jay Pfaffman [Fri, 13 Apr 2018 12:57:27 +0000 (05:57 -0700)]
fix old awk, better error check, fix data.yml for 2container

6 years agoPrint the actual amount of diskspace required.
Guo Xiang Tan [Thu, 12 Apr 2018 07:45:29 +0000 (15:45 +0800)]
Print the actual amount of diskspace required.

6 years agoAdd a disk space check before upgrading PostgreSQL.
Guo Xiang Tan [Thu, 12 Apr 2018 07:14:14 +0000 (15:14 +0800)]
Add a disk space check before upgrading PostgreSQL.

6 years agoMerge pull request #391 from pfaffman/master
Jeff Atwood [Mon, 9 Apr 2018 19:53:21 +0000 (12:53 -0700)]
Merge pull request #391 from pfaffman/master

FIX discourse-setup--better sanity checking

6 years agolauncher: launch containers by default with 512MB shmsize
Michael Brown [Fri, 6 Apr 2018 20:12:17 +0000 (16:12 -0400)]
launcher: launch containers by default with 512MB shmsize

6 years agoFIX discourse-setup--better sanity checking
Jay Pfaffman [Thu, 5 Apr 2018 22:59:32 +0000 (15:59 -0700)]
FIX discourse-setup--better sanity checking

6 years agoRemove TLS 1.0/1.1 support
Matt Palmer [Thu, 5 Apr 2018 04:52:16 +0000 (14:52 +1000)]
Remove TLS 1.0/1.1 support

https://meta.discourse.org/t/as-of-october-31-2018-microsoft-office-365-will-no-longer-support-tls-1-0-and-1-1/80479/11?u=mpalmer

6 years agoFix discourse_dev base image to work with PG 10.
Guo Xiang Tan [Wed, 4 Apr 2018 07:46:33 +0000 (15:46 +0800)]
Fix discourse_dev base image to work with PG 10.

6 years agoMore updates to the new postgres templates.
Guo Xiang Tan [Wed, 4 Apr 2018 06:44:50 +0000 (14:44 +0800)]
More updates to the new postgres templates.

6 years agoSwitch launcher to use PG 10.
Guo Xiang Tan [Wed, 4 Apr 2018 03:07:39 +0000 (11:07 +0800)]
Switch launcher to use PG 10.

6 years agoChange to a more reliable git source.
Guo Xiang Tan [Wed, 4 Apr 2018 01:58:51 +0000 (09:58 +0800)]
Change to a more reliable git source.

6 years agoRemove lockless and gperftools from base image.
Guo Xiang Tan [Wed, 4 Apr 2018 00:41:23 +0000 (08:41 +0800)]
Remove lockless and gperftools from base image.

6 years agoBump base image to PG 10.
Guo Xiang Tan [Wed, 4 Apr 2018 00:10:26 +0000 (08:10 +0800)]
Bump base image to PG 10.

6 years agoCopy postgres config folders as well.
Guo Xiang Tan [Tue, 3 Apr 2018 07:28:02 +0000 (15:28 +0800)]
Copy postgres config folders as well.

6 years agoWorking Postgres10 template.
Guo Xiang Tan [Tue, 3 Apr 2018 07:13:43 +0000 (15:13 +0800)]
Working Postgres10 template.

6 years agoMake sure the permission is preserved when copying files.
Guo Xiang Tan [Tue, 3 Apr 2018 05:17:36 +0000 (13:17 +0800)]
Make sure the permission is preserved when copying files.

6 years agoMissing commands in postgres 10 template.
Guo Xiang Tan [Tue, 3 Apr 2018 03:26:37 +0000 (11:26 +0800)]
Missing commands in postgres 10 template.

6 years agoAdd upgrade postgres instructions in PG 10 template.
Guo Xiang Tan [Tue, 3 Apr 2018 03:22:16 +0000 (11:22 +0800)]
Add upgrade postgres instructions in PG 10 template.

6 years agobump ruby to 2.4.4
Sam [Thu, 29 Mar 2018 05:37:59 +0000 (16:37 +1100)]
bump ruby to 2.4.4

6 years agoAdd missing dependency for chrome.
Guo Xiang Tan [Wed, 7 Mar 2018 06:10:16 +0000 (14:10 +0800)]
Add missing dependency for chrome.

6 years agoFixed the link to https://hub.docker.com/r/discourse/base/ (#390)
Vikas Kedia [Mon, 26 Feb 2018 20:16:12 +0000 (01:46 +0530)]
Fixed the link to https://hub.docker.com/r/discourse/base/ (#390)

6 years agoadd missing exec
Sam [Tue, 23 Jan 2018 23:52:21 +0000 (10:52 +1100)]
add missing exec

6 years agorbtrace and stackprof helpers added
Sam [Tue, 23 Jan 2018 04:34:18 +0000 (15:34 +1100)]
rbtrace and stackprof helpers added

6 years agoAdd template for postgres 10.
Guo Xiang Tan [Mon, 8 Jan 2018 06:17:02 +0000 (14:17 +0800)]
Add template for postgres 10.

6 years agoImprove failed to create swap message
Jeff Atwood [Wed, 3 Jan 2018 08:01:42 +0000 (00:01 -0800)]
Improve failed to create swap message

6 years agoBump Discourse base image.
Guo Xiang Tan [Wed, 3 Jan 2018 06:59:26 +0000 (14:59 +0800)]
Bump Discourse base image.

6 years agoUpdate samples (#387)
Jay Pfaffman [Thu, 28 Dec 2017 01:15:59 +0000 (17:15 -0800)]
Update samples (#387)

* update web_only.yml to match app.yml

* update data.yml to match standalone.yml

* missing quotes around variable

* first attempt at multi install

* fix up start up

* change 2 container command line option to "2container"

6 years agoFIX: log all PG stdout/err logs to /var/log/postgres
Sam [Tue, 26 Dec 2017 22:55:33 +0000 (09:55 +1100)]
FIX: log all PG stdout/err logs to /var/log/postgres

6 years agoFIX: stop logging redis logs to docker daemon
Sam [Tue, 26 Dec 2017 22:41:27 +0000 (09:41 +1100)]
FIX: stop logging redis logs to docker daemon

6 years agoFix nginx wasn't able to rotate logs due to incorrect folder permission.
Guo Xiang Tan [Tue, 26 Dec 2017 02:29:35 +0000 (10:29 +0800)]
Fix nginx wasn't able to rotate logs due to incorrect folder permission.

6 years agoInstall yarn and node 9 for discourse_dev.
Guo Xiang Tan [Wed, 20 Dec 2017 17:05:01 +0000 (01:05 +0800)]
Install yarn and node 9 for discourse_dev.

6 years agoFix permission issues when running smoke test.
Guo Xiang Tan [Wed, 20 Dec 2017 07:17:07 +0000 (15:17 +0800)]
Fix permission issues when running smoke test.

6 years agoInstall yarn in `discourse_test` image.
Guo Xiang Tan [Wed, 20 Dec 2017 06:37:03 +0000 (14:37 +0800)]
Install yarn in `discourse_test` image.

6 years agoFIX: Quote all strings in discourse.conf
Matt Palmer [Wed, 20 Dec 2017 05:54:44 +0000 (16:54 +1100)]
FIX: Quote all strings in discourse.conf

Fixes the problem of DB passwords with hashes in them (including passwords
that start with a hash, as reported in https://meta.discourse.org/t/76409).

The problem of passwords with single quotes in them still exists, and will
require modifications to Discourse's GlobalSetting::FileProvider parser,
because the current format doesn't support escaping quote characters.  That
work will have to be deferred to a later time.

6 years agoJust install chrome in `discourse_dev` seperately.
Guo Xiang Tan [Tue, 19 Dec 2017 09:49:55 +0000 (17:49 +0800)]
Just install chrome in `discourse_dev` seperately.

6 years agoFix base image for `discourse_dev`.
Guo Xiang Tan [Tue, 19 Dec 2017 08:51:03 +0000 (16:51 +0800)]
Fix base image for `discourse_dev`.

6 years agoBump `discourse/discourse_test:release` before `discourse/discourse_dev`.
Guo Xiang Tan [Tue, 19 Dec 2017 07:21:42 +0000 (15:21 +0800)]
Bump `discourse/discourse_test:release` before `discourse/discourse_dev`.

6 years agoRemove phantomjs and install google-chrome-stable into test base image.
Guo Xiang Tan [Tue, 19 Dec 2017 03:52:17 +0000 (11:52 +0800)]
Remove phantomjs and install google-chrome-stable into test base image.

6 years agoBump acme.sh to v2.7.5.
Guo Xiang Tan [Tue, 19 Dec 2017 00:57:49 +0000 (08:57 +0800)]
Bump acme.sh to v2.7.5.

6 years agoAdd ability to run JS tests in chrome headless.
Guo Xiang Tan [Fri, 15 Dec 2017 04:24:12 +0000 (12:24 +0800)]
Add ability to run JS tests in chrome headless.

6 years agoUpdate samples (#385)
Jay Pfaffman [Tue, 12 Dec 2017 04:48:23 +0000 (20:48 -0800)]
Update samples (#385)

* update web_only.yml to match app.yml

* update data.yml to match standalone.yml

* missing quotes around variable

6 years agobump nginx version
Sam [Thu, 7 Dec 2017 00:11:57 +0000 (11:11 +1100)]
bump nginx version

6 years agoRemove uneeded patch
Sam [Thu, 7 Dec 2017 00:10:35 +0000 (11:10 +1100)]
Remove uneeded patch

6 years agoBump base image
Rafael dos Santos Silva [Mon, 4 Dec 2017 18:18:28 +0000 (16:18 -0200)]
Bump base image

6 years agoFix nginx folder permission.
Guo Xiang Tan [Mon, 4 Dec 2017 05:19:18 +0000 (13:19 +0800)]
Fix nginx folder permission.

6 years agoAllow nginx folder to be accessible by other services.
Guo Xiang Tan [Mon, 4 Dec 2017 03:55:37 +0000 (11:55 +0800)]
Allow nginx folder to be accessible by other services.

6 years agoUpdate permission of nginx log files.
Guo Xiang Tan [Sun, 3 Dec 2017 15:17:17 +0000 (23:17 +0800)]
Update permission of nginx log files.

7 years agoMerge pull request #372 from fantasticfears/patch-1
Guo Xiang Tan [Fri, 24 Nov 2017 07:01:54 +0000 (15:01 +0800)]
Merge pull request #372 from fantasticfears/patch-1

Building gems in parallels and use 4 workers

7 years agoChange fix permission for nginx logs.
Guo Xiang Tan [Fri, 24 Nov 2017 04:07:53 +0000 (12:07 +0800)]
Change fix permission for nginx logs.

* Other services might need to read from the logs and the current
  permission is alittle too strict.

7 years agoDo a global replace.
Guo Xiang Tan [Wed, 15 Nov 2017 23:46:46 +0000 (07:46 +0800)]
Do a global replace.

7 years agoFix typo.
Guo Xiang Tan [Wed, 15 Nov 2017 23:26:04 +0000 (07:26 +0800)]
Fix typo.

7 years agoForce installation of bundler
Gerhard Schlager [Sun, 12 Nov 2017 00:07:05 +0000 (01:07 +0100)]
Force installation of bundler

fix for https://github.com/rubygems/rubygems/issues/2058

7 years agoFEATURE: Add support for `{{config}}` variable in labels.
Guo Xiang Tan [Fri, 10 Nov 2017 07:18:48 +0000 (15:18 +0800)]
FEATURE: Add support for `{{config}}` variable in labels.

7 years agoMAINTAINER is deprecated, using LABEL now (#383)
Charlie Lewis [Tue, 31 Oct 2017 21:07:21 +0000 (14:07 -0700)]
MAINTAINER is deprecated, using LABEL now (#383)

* MAINTAINER is deprecated, using LABEL now

* converted maintainer to comments

7 years agoRemoves workaround for building libbrotli
Gerhard Schlager [Mon, 30 Oct 2017 15:28:42 +0000 (16:28 +0100)]
Removes workaround for building libbrotli

This reverts 4a33d3e72f85e2d380150ccad86fb02f0ba8babe
It was fixed in https://github.com/bagder/libbrotli/commit/89797d5d4bf2c569c4d3eef6687af610d2068d9f

7 years agoRevert "FIX: Ensure that log files exists in mounted directory."
Guo Xiang Tan [Mon, 30 Oct 2017 07:55:54 +0000 (15:55 +0800)]
Revert "FIX: Ensure that log files exists in mounted directory."

This reverts commit e1b203f209902a599851d5666e0933b00c9a25cd.

7 years agoFIX: Ensure that log files exists in mounted directory.
Guo Xiang Tan [Mon, 30 Oct 2017 03:58:59 +0000 (11:58 +0800)]
FIX: Ensure that log files exists in mounted directory.

7 years agoMerge pull request #380 from pfaffman/multi-container
Jeff Atwood [Fri, 27 Oct 2017 19:20:14 +0000 (12:20 -0700)]
Merge pull request #380 from pfaffman/multi-container

port checking tweaks

7 years agoWorkaround for https://github.com/bagder/libbrotli/issues/45
Gerhard Schlager [Sat, 21 Oct 2017 00:01:09 +0000 (02:01 +0200)]
Workaround for https://github.com/bagder/libbrotli/issues/45

7 years agoAdd template for running the mbox-experimental importer
Gerhard Schlager [Sun, 1 Oct 2017 09:51:51 +0000 (11:51 +0200)]
Add template for running the mbox-experimental importer

7 years agoFix Vagrantfile to run discourse successfully (#378)
Hisashi KOMINE [Wed, 18 Oct 2017 01:18:12 +0000 (10:18 +0900)]
Fix Vagrantfile to run discourse successfully (#378)

* Update the vagrant box to "ubuntu/xenial64"

* Ignore .vagrant/

* Don't create /var/discourse symlink on vagrant's provisioning

* Add private network interface to vagrant vm

* Raise exeption if vagrant-disksize plugin is not installed

* Modify the instruction for vagrant

* Remove unnecessary dependencies

7 years agoDowngrade docker min version
Rafael dos Santos Silva [Sun, 15 Oct 2017 23:15:36 +0000 (21:15 -0200)]
Downgrade docker min version

This should help people who are stuck in distros that can't provide a current and supported version of docker.

See https://github.com/discourse/discourse_docker/commit/ddf8c54cdde0e448526f4fa0e9f7272695db8271#comments

7 years agoport checking tweaks
Jay Pfaffman [Fri, 13 Oct 2017 23:13:13 +0000 (16:13 -0700)]
port checking tweaks

7 years agoFIX: compare_version couldn't handle docker-ce versions
Rafael dos Santos Silva [Wed, 11 Oct 2017 17:38:04 +0000 (14:38 -0300)]
FIX: compare_version couldn't handle docker-ce versions

7 years agoUpdate min docker version to last supported version
Rafael dos Santos Silva [Wed, 11 Oct 2017 16:40:53 +0000 (13:40 -0300)]
Update min docker version to last supported version

7 years agobump image
Sam [Tue, 10 Oct 2017 03:50:08 +0000 (14:50 +1100)]
bump image