discourse_docker.git
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

7 years agoBump base image for launcher.
Guo Xiang Tan [Tue, 10 Oct 2017 03:14:58 +0000 (11:14 +0800)]
Bump base image for launcher.

7 years agoAdd ECDH curve fallback for Android 7.0
Gerhard Schlager [Tue, 3 Oct 2017 10:49:49 +0000 (12:49 +0200)]
Add ECDH curve fallback for Android 7.0

7 years agoUpgrade to Ruby 2.4.2.
Guo Xiang Tan [Fri, 15 Sep 2017 00:27:27 +0000 (08:27 +0800)]
Upgrade to Ruby 2.4.2.

7 years agowe have to update rubygems cause it may be flaky
Sam Saffron [Thu, 31 Aug 2017 19:49:04 +0000 (15:49 -0400)]
we have to update rubygems cause it may be flaky

7 years agoBuilding gems in parallels and use 4 workers
Erick Guan [Thu, 31 Aug 2017 09:48:56 +0000 (11:48 +0200)]
Building gems in parallels and use 4 workers

7 years agoMerge pull request #371 from LeoMcA/discourse-dev-multisite
Sam [Wed, 30 Aug 2017 21:54:23 +0000 (17:54 -0400)]
Merge pull request #371 from LeoMcA/discourse-dev-multisite

create discourse_test_multsite db in discourse_dev image

7 years agocreate discourse_test_multsite db in discourse_dev image
Leo McArdle [Fri, 25 Aug 2017 13:00:38 +0000 (14:00 +0100)]
create discourse_test_multsite db in discourse_dev image

7 years agoUpgrade acme.sh.
Guo Xiang Tan [Thu, 24 Aug 2017 01:03:55 +0000 (10:03 +0900)]
Upgrade acme.sh.

7 years agoMerge pull request #370 from davidtaylorhq/node-8
Sam [Mon, 21 Aug 2017 14:54:29 +0000 (10:54 -0400)]
Merge pull request #370 from davidtaylorhq/node-8

Bump node.js to version 8

7 years agoRevert "Add google chrome and NPM modules to discourse_test image"
Guo Xiang Tan [Mon, 21 Aug 2017 06:57:17 +0000 (15:57 +0900)]
Revert "Add google chrome and NPM modules to discourse_test image"

This reverts commit 050a1a6a83744a514ba93e8217fe37a035c1ebe4.

7 years agoBump node.js version to 8
David Taylor [Sun, 20 Aug 2017 17:16:53 +0000 (18:16 +0100)]
Bump node.js version to 8

7 years agoMerge pull request #369 from davidtaylorhq/chrome-qunit
Sam [Fri, 18 Aug 2017 18:07:51 +0000 (14:07 -0400)]
Merge pull request #369 from davidtaylorhq/chrome-qunit

Add google chrome and NPM modules to discourse_test image

7 years agoAdd google chrome and NPM modules to discourse_test image
David Taylor [Fri, 18 Aug 2017 16:42:58 +0000 (17:42 +0100)]
Add google chrome and NPM modules to discourse_test image

7 years agoRevert "add the :Z option to all mounted volumes so that discourse works when selinux...
Sam Saffron [Sat, 12 Aug 2017 01:56:45 +0000 (21:56 -0400)]
Revert "add the :Z option to all mounted volumes so that discourse works when selinux is enabled"

This reverts commit 2b0b0938c475b8886ee14f66e8b16f403ca8213a.

7 years agoMerge pull request #366 from db48x/handle-selinux-mounts
Sam [Fri, 11 Aug 2017 15:34:41 +0000 (11:34 -0400)]
Merge pull request #366 from db48x/handle-selinux-mounts

add the :Z option to all mounted volumes so that discourse works when selinux is enabled

7 years agoadd the :Z option to all mounted volumes so that discourse works when selinux is...
Daniel Brooks [Wed, 9 Aug 2017 00:39:10 +0000 (17:39 -0700)]
add the :Z option to all mounted volumes so that discourse works when selinux is enabled

7 years agoBetter message when low on space in docker disk
Rafael dos Santos Silva [Tue, 1 Aug 2017 21:07:57 +0000 (18:07 -0300)]
Better message when low on space in docker disk

7 years agoBump pngcrush from 1.8.10 to 1.8.12
Rafael dos Santos Silva [Tue, 1 Aug 2017 21:01:06 +0000 (18:01 -0300)]
Bump pngcrush from 1.8.10 to 1.8.12

7 years agoFEATURE: Bump to latest image
Rafael dos Santos Silva [Fri, 28 Jul 2017 21:47:31 +0000 (18:47 -0300)]
FEATURE: Bump to latest image

7 years agodowngrade ruby to 2.3.4
Sam [Fri, 28 Jul 2017 13:48:25 +0000 (09:48 -0400)]
downgrade ruby to 2.3.4
upgrade nginx to latest stable

7 years agoFIX: Don't run prereqs check on manual cleanup
Rafael dos Santos Silva [Fri, 28 Jul 2017 02:17:05 +0000 (23:17 -0300)]
FIX: Don't run prereqs check on manual cleanup

7 years agowe have to have a home
Sam [Tue, 25 Jul 2017 15:46:32 +0000 (11:46 -0400)]
we have to have a home

7 years agoMerge pull request #361 from discourse/fix-hsts
Rafael dos Santos Silva [Fri, 14 Jul 2017 02:41:30 +0000 (23:41 -0300)]
Merge pull request #361 from discourse/fix-hsts

FIX: HSTS header was overwrote by Referrer-Policy add_header

7 years agoFIX: HSTS header was overwrote by Referrer-Policy add_header
Rafael dos Santos Silva [Fri, 14 Jul 2017 02:37:48 +0000 (23:37 -0300)]
FIX: HSTS header was overwrote by Referrer-Policy add_header

7 years agoUpdate acme.sh.
Guo Xiang Tan [Thu, 13 Jul 2017 03:45:30 +0000 (12:45 +0900)]
Update acme.sh.

7 years agoAdd jemalloc 5.0.1 as an optional lib
Rafael dos Santos Silva [Tue, 11 Jul 2017 23:32:46 +0000 (20:32 -0300)]
Add jemalloc 5.0.1 as an optional lib

7 years agoFIX: More resilient docker fs space detection
Rafael dos Santos Silva [Tue, 4 Jul 2017 15:45:34 +0000 (12:45 -0300)]
FIX: More resilient docker fs space detection

7 years agoFEATURE: Check disk space on launcher script
Rafael dos Santos Silva [Thu, 29 Jun 2017 01:01:44 +0000 (22:01 -0300)]
FEATURE: Check disk space on launcher script

7 years agoRevert "FEATURE: Add default Referrer Policy in SSL template"
Rafael dos Santos Silva [Wed, 28 Jun 2017 05:08:39 +0000 (02:08 -0300)]
Revert "FEATURE: Add default Referrer Policy in SSL template"

This reverts commit 4da4d12ba60f60821405a4dd0b9d6744a2c5075b.

7 years agoUpdate sample mail-receiver to latest released version
Matt Palmer [Wed, 28 Jun 2017 00:12:43 +0000 (10:12 +1000)]
Update sample mail-receiver to latest released version

7 years agoFIX: Download pngquant from git repository
Rafael dos Santos Silva [Mon, 26 Jun 2017 23:36:01 +0000 (20:36 -0300)]
FIX: Download pngquant from git repository

Makefile depends on git submodule, so this is mandatory for now

7 years agoFEATURE: Download ImageMagick from a stable/secure source
Rafael dos Santos Silva [Mon, 26 Jun 2017 23:34:57 +0000 (20:34 -0300)]
FEATURE: Download ImageMagick from a stable/secure source

7 years agoFEATURE: Add default Referrer Policy in SSL template
Rafael dos Santos Silva [Mon, 26 Jun 2017 21:32:39 +0000 (18:32 -0300)]
FEATURE: Add default Referrer Policy in SSL template

7 years agoBumps ImageMagick version
Rafael dos Santos Silva [Thu, 22 Jun 2017 02:46:22 +0000 (23:46 -0300)]
Bumps ImageMagick version

7 years agoFEATURE: Build a public test image every week
Rafael dos Santos Silva [Thu, 22 Jun 2017 02:45:19 +0000 (23:45 -0300)]
FEATURE: Build a public test image every week

7 years agoFEATURE: Customizable FROM on test image
Rafael dos Santos Silva [Wed, 21 Jun 2017 23:22:42 +0000 (20:22 -0300)]
FEATURE: Customizable FROM on test image

7 years agoRevert "Allow user arguments to be passed to Docker stop command."
Guo Xiang Tan [Wed, 21 Jun 2017 08:05:19 +0000 (17:05 +0900)]
Revert "Allow user arguments to be passed to Docker stop command."

This reverts commit 94d7c3b4b7e0ec99c9beda18705d39a6b84e4b55.

7 years agoRevert "Allow user arguments to be passed to stop command part 2."
Guo Xiang Tan [Wed, 21 Jun 2017 08:05:12 +0000 (17:05 +0900)]
Revert "Allow user arguments to be passed to stop command part 2."

This reverts commit 1c8ba2adfc1717f5e2d40f5d9bceeec9688f75b7.

7 years agoAllow user arguments to be passed to stop command part 2.
Guo Xiang Tan [Wed, 21 Jun 2017 06:38:59 +0000 (15:38 +0900)]
Allow user arguments to be passed to stop command part 2.

7 years agoAllow user arguments to be passed to Docker stop command.
Guo Xiang Tan [Wed, 21 Jun 2017 06:32:12 +0000 (15:32 +0900)]
Allow user arguments to be passed to Docker stop command.

7 years agoMerge pull request #359 from discourse/revert-358-no-env-in-bootstrapped-image
Sam [Tue, 13 Jun 2017 15:11:36 +0000 (11:11 -0400)]
Merge pull request #359 from discourse/revert-358-no-env-in-bootstrapped-image

Revert "Don't commit environment to bootstrapped image"

7 years agoRevert "Don't commit environment to bootstrapped image"
Sam [Tue, 13 Jun 2017 15:11:19 +0000 (11:11 -0400)]
Revert "Don't commit environment to bootstrapped image"

7 years agoMerge pull request #358 from soulshake/no-env-in-bootstrapped-image
Sam [Tue, 13 Jun 2017 14:55:30 +0000 (10:55 -0400)]
Merge pull request #358 from soulshake/no-env-in-bootstrapped-image

Don't commit environment to bootstrapped image

7 years agoDon't commit environment to bootstrapped image
AJ Bowen [Tue, 13 Jun 2017 14:44:09 +0000 (16:44 +0200)]
Don't commit environment to bootstrapped image

7 years agoMerge pull request #353 from RoldanLT/patch-4
Sam [Tue, 6 Jun 2017 11:55:00 +0000 (07:55 -0400)]
Merge pull request #353 from RoldanLT/patch-4

Update web.ssl.template.yml

7 years agoMerge pull request #356 from pfaffman/fix-missing-quotes
Jeff Atwood [Mon, 5 Jun 2017 22:20:23 +0000 (15:20 -0700)]
Merge pull request #356 from pfaffman/fix-missing-quotes

Fix missing quotes

7 years agofix syntax error. update let's encrypt language. make backups.
Jay Pfaffman [Mon, 5 Jun 2017 21:57:28 +0000 (14:57 -0700)]
fix syntax error. update let's encrypt language. make backups.

7 years agoUpdate web.ssl.template.yml
Roldan [Mon, 5 Jun 2017 16:41:16 +0000 (00:41 +0800)]
Update web.ssl.template.yml

Use proper return 301 instead of rewrite for HTTPS redirect

7 years agoMerge pull request #352 from RoldanLT/patch-3
Sam [Mon, 5 Jun 2017 13:13:18 +0000 (09:13 -0400)]
Merge pull request #352 from RoldanLT/patch-3

Update web.ratelimited.template.yml

7 years agoUpdate web.ratelimited.template.yml
Roldan [Mon, 5 Jun 2017 11:57:37 +0000 (19:57 +0800)]
Update web.ratelimited.template.yml

Limit maximum connections per IP to combat HTTP/S Flood.
Normal browser doesn't allow more than 10 connections though :).

7 years agoBump imagemagick version.
Guo Xiang Tan [Mon, 5 Jun 2017 00:56:51 +0000 (09:56 +0900)]
Bump imagemagick version.

7 years agoMerge branch 'master' of github.com:pfaffman/discourse_docker
Jay Pfaffman [Thu, 1 Jun 2017 19:47:32 +0000 (12:47 -0700)]
Merge branch 'master' of github.com:pfaffman/discourse_docker