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

6 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

6 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

6 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

6 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

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

6 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

6 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

6 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

6 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.

6 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

6 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

6 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

6 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

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

6 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

6 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

6 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.

6 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.

6 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.

6 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.

6 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"

6 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"

6 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

6 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

6 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

6 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

6 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.

6 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

6 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

6 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 :).

6 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

7 years agoBump base image to latest in launcher
Rafael dos Santos Silva [Thu, 1 Jun 2017 16:14:19 +0000 (13:14 -0300)]
Bump base image to latest in launcher

7 years agoRemove old image
Rafael dos Santos Silva [Thu, 1 Jun 2017 15:26:18 +0000 (12:26 -0300)]
Remove old image

7 years agoFIX: Show proper version on /VERSION file
Rafael dos Santos Silva [Thu, 1 Jun 2017 15:25:46 +0000 (12:25 -0300)]
FIX: Show proper version on /VERSION file

7 years agoMerge with auto branch
Rafael dos Santos Silva [Wed, 31 May 2017 16:55:06 +0000 (13:55 -0300)]
Merge with auto branch

7 years agoPin uglify-js to 2.x for now
Rafael dos Santos Silva [Wed, 31 May 2017 16:42:39 +0000 (13:42 -0300)]
Pin uglify-js to 2.x for now

7 years agoBumps ImageMagick version
Rafael dos Santos Silva [Tue, 30 May 2017 03:35:21 +0000 (00:35 -0300)]
Bumps ImageMagick version

7 years agoMerge pull request #347 from lead4good/master
Sam [Thu, 25 May 2017 13:23:40 +0000 (09:23 -0400)]
Merge pull request #347 from lead4good/master

adding mysql dependency template to simplify usage of import scripts

7 years agoadding mysql dependency template to simplify usage of import scripts
lead4good [Thu, 25 May 2017 10:12:25 +0000 (12:12 +0200)]
adding mysql dependency template to simplify usage of import scripts

7 years agoRevert "Install Discourse narrative bot by default."
Guo Xiang Tan [Wed, 24 May 2017 08:53:37 +0000 (16:53 +0800)]
Revert "Install Discourse narrative bot by default."

This reverts commit fcdd39da610f036f36e8f9e70bf0ca93ef95b23a.

7 years agoInstall Discourse narrative bot by default.
Guo Xiang Tan [Fri, 19 May 2017 05:59:47 +0000 (13:59 +0800)]
Install Discourse narrative bot by default.

7 years agoBumps ImageMagick version
Rafael dos Santos Silva [Thu, 11 May 2017 20:34:37 +0000 (17:34 -0300)]
Bumps ImageMagick version

7 years agoUpdate to Ruby 2.4.1
Rafael dos Santos Silva [Mon, 17 Apr 2017 14:45:48 +0000 (11:45 -0300)]
Update to Ruby 2.4.1

7 years agoAdd support for Ruby 2.4 in 1.4.0.
Guo Xiang Tan [Mon, 17 Apr 2017 03:11:56 +0000 (11:11 +0800)]
Add support for Ruby 2.4 in 1.4.0.

7 years agoLet's use a path to download ImageMagick that never breaks
Rafael dos Santos Silva [Thu, 13 Apr 2017 22:32:34 +0000 (19:32 -0300)]
Let's use a path to download ImageMagick that never breaks

7 years agoRemove outdated file from web template.
Guo Xiang Tan [Mon, 27 Mar 2017 06:36:01 +0000 (14:36 +0800)]
Remove outdated file from web template.

7 years agoAuto upgrade acme.sh and log output.
Guo Xiang Tan [Mon, 27 Mar 2017 03:31:35 +0000 (11:31 +0800)]
Auto upgrade acme.sh and log output.

7 years agoupdate bash if/else statements (#342)
Allen Hancock [Mon, 27 Mar 2017 02:21:22 +0000 (21:21 -0500)]
update bash if/else statements (#342)

7 years agoremove excess echos for default let's encrypt off
Jeff Atwood [Sun, 26 Mar 2017 23:22:23 +0000 (16:22 -0700)]
remove excess echos for default let's encrypt off

7 years agoBumps ImageMagick version
Rafael dos Santos Silva [Mon, 20 Mar 2017 23:14:58 +0000 (20:14 -0300)]
Bumps ImageMagick version

7 years agoFIX: Let's Encrypt account email couldn't be changed.
Guo Xiang Tan [Wed, 15 Mar 2017 02:19:48 +0000 (10:19 +0800)]
FIX: Let's Encrypt account email couldn't be changed.

7 years agoMerge pull request #340 from pfaffman/lets-encrypt-sanity-check
Jeff Atwood [Wed, 8 Mar 2017 23:24:36 +0000 (15:24 -0800)]
Merge pull request #340 from pfaffman/lets-encrypt-sanity-check

Warn not to use let's encrypt if hostname doesn't resolve to IP

7 years agoWarn not to use let's encrypt if hostname doesn't resolve to IP
Jay Pfaffman [Wed, 8 Mar 2017 22:54:21 +0000 (14:54 -0800)]
Warn not to use let's encrypt if hostname doesn't resolve to IP

7 years agoMerge branch 'master' of https://github.com/discourse/discourse_docker
Jay Pfaffman [Wed, 8 Mar 2017 22:46:46 +0000 (14:46 -0800)]
Merge branch 'master' of https://github.com/discourse/discourse_docker

7 years agoMerge pull request #338 from pfaffman/improve-discourse-setup
Jeff Atwood [Mon, 6 Mar 2017 23:19:14 +0000 (15:19 -0800)]
Merge pull request #338 from pfaffman/improve-discourse-setup

allow re-run of discourse-setup; pull defaults from standalone.yml

7 years agoallow re-run of discourse-setup; pull defaults from standalone.yml
Jay Pfaffman [Fri, 3 Mar 2017 23:52:14 +0000 (15:52 -0800)]
allow re-run of discourse-setup; pull defaults from standalone.yml

7 years agoAdd two-address example to standalone.yml
Jay Pfaffman [Fri, 3 Mar 2017 23:27:12 +0000 (15:27 -0800)]
Add two-address example to standalone.yml

7 years agoBumps ImageMagick version
Rafael dos Santos Silva [Thu, 23 Feb 2017 23:20:30 +0000 (20:20 -0300)]
Bumps ImageMagick version

7 years agoWill this not blame me for OSX stuff?
Jay Pfaffman [Thu, 23 Feb 2017 19:43:45 +0000 (11:43 -0800)]
Will this not blame me for OSX stuff?

7 years agoBumps ImageMagick version
Rafael dos Santos Silva [Mon, 13 Feb 2017 17:40:40 +0000 (15:40 -0200)]
Bumps ImageMagick version

7 years agoEnable experimental squash
Rafael dos Santos Silva [Mon, 13 Feb 2017 17:14:22 +0000 (15:14 -0200)]
Enable experimental squash

7 years agoUpdate HTTPS configuration (#333)
Angristan [Fri, 10 Feb 2017 00:47:37 +0000 (01:47 +0100)]
Update HTTPS configuration (#333)

* Update HTTPS configuration

We should disable DH and use AES CBC/GCM + ECDH ciphers only. It's fast and secure, and widely compatible (cf https://tls.imirhil.fr/suite).

* Specify which curve to use

7 years agoMake auto_build do less, and keep it simple
Rafael dos Santos Silva [Wed, 8 Feb 2017 01:48:13 +0000 (23:48 -0200)]
Make auto_build do less, and keep it simple

7 years agoadd overlay2
Sam [Mon, 6 Feb 2017 14:57:09 +0000 (09:57 -0500)]
add overlay2

7 years agoMerge pull request #332 from mpalmer/improve-storage-driver-check
Sam [Thu, 2 Feb 2017 14:48:39 +0000 (09:48 -0500)]
Merge pull request #332 from mpalmer/improve-storage-driver-check

Improve check for approved storage driver [Closes #310]

7 years agoLet's try busting the cache
Rafael dos Santos Silva [Thu, 2 Feb 2017 02:23:49 +0000 (00:23 -0200)]
Let's try busting the cache

7 years agoMore work to make automatic build easier
Rafael dos Santos Silva [Wed, 1 Feb 2017 02:41:39 +0000 (00:41 -0200)]
More work to make automatic build easier

7 years agoImprove check for approved storage driver [Closes #310]
Matt Palmer [Tue, 31 Jan 2017 22:33:36 +0000 (09:33 +1100)]
Improve check for approved storage driver [Closes #310]

Previous test was both buggy and inefficient; we now avoid the need
to do a separate regex comparison.  I also improved the wording of
the error message somewhat to use Docker-Approved(TM) terminology.

7 years agoMove everything to a complete base image
Rafael dos Santos Silva [Tue, 31 Jan 2017 15:21:00 +0000 (13:21 -0200)]
Move everything to a complete base image

7 years agoMerge pull request #325 from phaldan/master
Sam [Tue, 17 Jan 2017 22:06:59 +0000 (17:06 -0500)]
Merge pull request #325 from phaldan/master

Fix usage of docker_ip variable with multiple ips

7 years agoBump acme.sh.
Guo Xiang Tan [Tue, 10 Jan 2017 02:51:30 +0000 (10:51 +0800)]
Bump acme.sh.

7 years agoFix usage of docker_ip variable with multiple ips
Philipp Daniels [Wed, 4 Jan 2017 11:21:56 +0000 (12:21 +0100)]
Fix usage of docker_ip variable with multiple ips

My setup contains a default Rancher node + agent on the same host. This leads to multiple ip in the docker_ip variable. Fix by adding double quotes around docker_ip variable

7 years agoBumps ImageMagick from 6.9.6-7 to 6.9.7-0
Rafael dos Santos Silva [Wed, 28 Dec 2016 19:31:30 +0000 (17:31 -0200)]
Bumps ImageMagick from 6.9.6-7 to 6.9.7-0

7 years agoFixes ngx_brotli compilation
Rafael dos Santos Silva [Wed, 28 Dec 2016 18:54:31 +0000 (16:54 -0200)]
Fixes ngx_brotli compilation

7 years agoBumps image version to 1.3.10
Rafael dos Santos Silva [Wed, 28 Dec 2016 18:29:13 +0000 (16:29 -0200)]
Bumps image version to 1.3.10

7 years agoEnables brotli compressed assets for everyone
Rafael dos Santos Silva [Wed, 28 Dec 2016 18:04:30 +0000 (16:04 -0200)]
Enables brotli compressed assets for everyone

7 years agoEveryone goes back to Jemalloc 3.6.0
Rafael dos Santos Silva [Wed, 28 Dec 2016 18:03:57 +0000 (16:03 -0200)]
Everyone goes back to Jemalloc 3.6.0

7 years agoMove --docker-args to the end so it gets priority
Rafael dos Santos Silva [Tue, 27 Dec 2016 20:12:03 +0000 (18:12 -0200)]
Move --docker-args to the end so it gets priority

7 years agoUse a 2048 dhparam again
Rafael dos Santos Silva [Thu, 22 Dec 2016 16:54:21 +0000 (14:54 -0200)]
Use a 2048 dhparam again

4096 takes 16x as long, we can't allow several hours installs

https://meta.discourse.org/t/prime-calculation-for-openssl-just-goes-on/54653/5?u=falco

7 years agoadd mailcatcher
Sam [Tue, 13 Dec 2016 03:57:24 +0000 (14:57 +1100)]
add mailcatcher

7 years agoMerge pull request #317 from ibnesayeed/master
Sam [Tue, 13 Dec 2016 03:55:09 +0000 (14:55 +1100)]
Merge pull request #317 from ibnesayeed/master

Adding dev dependencies in the docker image

7 years agosome more db tuning
Sam [Tue, 13 Dec 2016 03:54:14 +0000 (14:54 +1100)]
some more db tuning

7 years agoAdding dev dependencies in the docker image
Sawood Alam [Mon, 12 Dec 2016 23:46:37 +0000 (18:46 -0500)]
Adding dev dependencies in the docker image

7 years agoneed to migrate test as well
Sam [Mon, 12 Dec 2016 06:45:04 +0000 (17:45 +1100)]
need to migrate test as well

7 years agocorrect issues with dev image
Sam [Mon, 12 Dec 2016 06:36:15 +0000 (17:36 +1100)]
correct issues with dev image

7 years agoRename `ALLOCATOR` -> `RUBY_ALLOCATOR`.
Guo Xiang Tan [Fri, 9 Dec 2016 02:28:52 +0000 (10:28 +0800)]
Rename `ALLOCATOR` -> `RUBY_ALLOCATOR`.

7 years agoMerge pull request #316 from discourse/jemalloc-regression
Guo Xiang Tan [Fri, 9 Dec 2016 02:28:09 +0000 (03:28 +0100)]
Merge pull request #316 from discourse/jemalloc-regression

Memory Allocation Fiesta

7 years agotcmalloc 2.5 is the default allocator, but this is now configurable
Rafael dos Santos Silva [Wed, 7 Dec 2016 22:57:47 +0000 (20:57 -0200)]
tcmalloc 2.5 is the default allocator, but this is now configurable

7 years agoAdds tcmalloc and lockless allocators to base image
Rafael dos Santos Silva [Wed, 7 Dec 2016 22:29:38 +0000 (20:29 -0200)]
Adds tcmalloc and lockless allocators to base image

7 years agoMerge pull request #315 from robbyoconnor/fix-hsts-for-aplus
Sam [Wed, 7 Dec 2016 07:04:46 +0000 (18:04 +1100)]
Merge pull request #315 from robbyoconnor/fix-hsts-for-aplus

Some HTTPS improvements to achieve A+ on Qualsys SSL Labs

7 years agoBumps version to 1.3.9
Rafael dos Santos Silva [Wed, 7 Dec 2016 00:52:33 +0000 (22:52 -0200)]
Bumps version to 1.3.9

7 years agoUpdates ImageMagick from 6.9.6-5 to 6.9.6-7
Rafael dos Santos Silva [Wed, 7 Dec 2016 00:40:28 +0000 (22:40 -0200)]
Updates ImageMagick from 6.9.6-5 to 6.9.6-7

7 years agoRollback jemalloc from 4.3.1 to 3.6.0
Rafael dos Santos Silva [Wed, 7 Dec 2016 00:39:41 +0000 (22:39 -0200)]
Rollback jemalloc from 4.3.1 to 3.6.0

7 years agoSome HTTPS improvements to achieve A+ on Qualsys SSL Labs
Robert O'Connor [Tue, 6 Dec 2016 22:32:40 +0000 (17:32 -0500)]
Some HTTPS improvements to achieve A+ on Qualsys SSL Labs

- Make HSTS max-age longer for A+ on qualsys SSL labs
- dhparams 4096 bits vs 2048

7 years agoBumps laucher to use docker image version 1.3.8
Rafael dos Santos Silva [Wed, 23 Nov 2016 02:57:38 +0000 (00:57 -0200)]
Bumps laucher to use docker image version 1.3.8

7 years agoMerge pull request #311 from discourse/image-update
Rafael dos Santos Silva [Tue, 22 Nov 2016 23:25:33 +0000 (21:25 -0200)]
Merge pull request #311 from discourse/image-update

Image update

7 years agoRemove minor PostgreSQL version pinning
Rafael dos Santos Silva [Mon, 21 Nov 2016 18:19:28 +0000 (16:19 -0200)]
Remove minor PostgreSQL version pinning

7 years agoUpdates ruby from 2.3.2 to 2.3.3
Rafael dos Santos Silva [Mon, 21 Nov 2016 14:48:01 +0000 (12:48 -0200)]
Updates ruby from 2.3.2 to 2.3.3