discourse_docker.git
8 years agobump version
Sam [Wed, 8 Jun 2016 00:33:31 +0000 (10:33 +1000)]
bump version

8 years agoshift enable brotli to boot, it is more correct there
Sam [Tue, 7 Jun 2016 08:24:17 +0000 (18:24 +1000)]
shift enable brotli to boot, it is more correct there

8 years agocorrect bash command so it does not fail
Sam [Tue, 7 Jun 2016 08:12:32 +0000 (18:12 +1000)]
correct bash command so it does not fail

8 years agomake template smart enough to enable brotli if needed
Sam [Tue, 7 Jun 2016 08:06:56 +0000 (18:06 +1000)]
make template smart enough to enable brotli if needed

8 years agomisses a spot
Sam [Tue, 7 Jun 2016 07:00:03 +0000 (17:00 +1000)]
misses a spot

8 years agomove nginx binary into place
Sam [Tue, 7 Jun 2016 06:26:36 +0000 (16:26 +1000)]
move nginx binary into place

8 years agoNew base image
Sam [Tue, 7 Jun 2016 06:13:02 +0000 (16:13 +1000)]
New base image

- add brotli support to nginx
- update imagemagick
- update phantomjs to safe version

8 years agoadd quotes around SMTP_PASSWORD
Jeff Atwood [Sat, 4 Jun 2016 22:46:49 +0000 (15:46 -0700)]
add quotes around SMTP_PASSWORD

8 years agoshould be rebuild
Sam [Sat, 4 Jun 2016 01:57:12 +0000 (11:57 +1000)]
should be rebuild

8 years agoMerge pull request #261 from fefrei/patch-3
Sam [Thu, 26 May 2016 23:40:17 +0000 (09:40 +1000)]
Merge pull request #261 from fefrei/patch-3

Fixed paths in the postgres upgrade instructions

8 years agoFixed paths in the postgres upgrade instructions
Felix Freiberger [Thu, 26 May 2016 10:01:00 +0000 (12:01 +0200)]
Fixed paths in the postgres upgrade instructions

8 years agocorrect error conditions
Sam [Thu, 26 May 2016 07:28:39 +0000 (17:28 +1000)]
correct error conditions

8 years agoImprove rebuild experience, don't fail after upgrading db
Sam [Thu, 26 May 2016 07:07:13 +0000 (17:07 +1000)]
Improve rebuild experience, don't fail after upgrading db

8 years agostop binding redis to 127.0.0.1
Sam [Thu, 26 May 2016 03:21:15 +0000 (13:21 +1000)]
stop binding redis to 127.0.0.1

8 years agono need to change base image
Sam [Wed, 25 May 2016 10:43:35 +0000 (20:43 +1000)]
no need to change base image

8 years agoremove uneeded env vars
Sam [Wed, 25 May 2016 04:06:57 +0000 (14:06 +1000)]
remove uneeded env vars

8 years agoMerge branch '1.3.2'
Sam [Wed, 25 May 2016 04:02:24 +0000 (14:02 +1000)]
Merge branch '1.3.2'

8 years agobump up method cache
Sam [Tue, 24 May 2016 08:22:43 +0000 (18:22 +1000)]
bump up method cache

8 years agogif is built in
Sam [Mon, 23 May 2016 10:26:39 +0000 (20:26 +1000)]
gif is built in

8 years agoUpdate Let's Encrypt template to latest API.
Guo Xiang Tan [Mon, 23 May 2016 05:28:02 +0000 (13:28 +0800)]
Update Let's Encrypt template to latest API.

8 years agobump version
Sam [Mon, 23 May 2016 09:00:56 +0000 (19:00 +1000)]
bump version

8 years agobump version
Sam [Mon, 23 May 2016 09:00:36 +0000 (19:00 +1000)]
bump version

8 years agocorrect and validate image magick install
Sam [Mon, 23 May 2016 08:58:15 +0000 (18:58 +1000)]
correct and validate image magick install

8 years agoCtrl+C based on Twitter poll..
Jeff Atwood [Mon, 23 May 2016 08:13:24 +0000 (01:13 -0700)]
Ctrl+C based on Twitter poll..

https://twitter.com/codinghorror/status/734294838925885440

8 years agolatest rubygems has problems
Sam [Mon, 23 May 2016 06:35:45 +0000 (16:35 +1000)]
latest rubygems has problems

https://github.com/bundler/bundler/issues/4602

8 years agobump version to new image
Sam [Mon, 23 May 2016 05:10:27 +0000 (15:10 +1000)]
bump version to new image

8 years agoimage magic updated again
Sam [Mon, 23 May 2016 03:47:41 +0000 (13:47 +1000)]
image magic updated again

8 years agobump image, shave off some more bytes
Sam [Mon, 23 May 2016 03:02:39 +0000 (13:02 +1000)]
bump image, shave off some more bytes

8 years agoslim down image, upgrade image magick and libpng
Sam [Fri, 20 May 2016 08:13:37 +0000 (18:13 +1000)]
slim down image, upgrade image magick and libpng

8 years agowe need a rebuild at the end
Sam [Fri, 20 May 2016 04:57:27 +0000 (14:57 +1000)]
we need a rebuild at the end

8 years agoupdate instructions for ... just in case
Sam [Fri, 20 May 2016 04:13:19 +0000 (14:13 +1000)]
update instructions for ... just in case

8 years agofix up client tools as well
Sam [Fri, 20 May 2016 03:02:11 +0000 (13:02 +1000)]
fix up client tools as well

8 years agotry to force port in template
Sam [Tue, 17 May 2016 13:06:12 +0000 (23:06 +1000)]
try to force port in template

8 years agotry to get template to work
Sam [Tue, 17 May 2016 12:52:20 +0000 (22:52 +1000)]
try to get template to work

8 years agoimprove template
Sam [Tue, 17 May 2016 12:17:23 +0000 (22:17 +1000)]
improve template

8 years agobump version in a few spots
Sam [Tue, 17 May 2016 07:06:37 +0000 (17:06 +1000)]
bump version in a few spots

8 years agoupgrade image and version stuff
Sam [Tue, 17 May 2016 07:02:34 +0000 (17:02 +1000)]
upgrade image and version stuff

8 years agoMerge branch 'upgrade_everyone_to_postgres_9.5' of https://github.com/tgxworld/discou...
Sam [Tue, 17 May 2016 04:48:24 +0000 (14:48 +1000)]
Merge branch 'upgrade_everyone_to_postgres_9.5' of https://github.com/tgxworld/discourse_docker into tgxworld-upgrade_everyone_to_postgres_9.5

8 years agoUpgrade base image to Ubuntu 16.04.
Guo Xiang Tan [Mon, 16 May 2016 06:32:06 +0000 (14:32 +0800)]
Upgrade base image to Ubuntu 16.04.

8 years agowe require 2GB of swap now
Jeff Atwood [Mon, 16 May 2016 22:43:29 +0000 (15:43 -0700)]
we require 2GB of swap now

8 years agoadd SMTP port selection, smarter mailgun handling
Jeff Atwood [Mon, 16 May 2016 10:27:43 +0000 (03:27 -0700)]
add SMTP port selection, smarter mailgun handling

8 years agoBump Ruby version to 2.3.1.
Guo Xiang Tan [Mon, 16 May 2016 02:25:28 +0000 (10:25 +0800)]
Bump Ruby version to 2.3.1.

8 years agoUpdate PostgreSQL to 9.5 in base image.
Guo Xiang Tan [Mon, 16 May 2016 04:13:54 +0000 (12:13 +0800)]
Update PostgreSQL to 9.5 in base image.

8 years agoremove root warning on swapfile create, since we require root at start now
Jeff Atwood [Wed, 11 May 2016 23:34:50 +0000 (16:34 -0700)]
remove root warning on swapfile create, since we require root at start now

8 years agoadd root check since it's required
Jeff Atwood [Tue, 10 May 2016 22:20:39 +0000 (15:20 -0700)]
add root check since it's required

8 years agosudo command redundant on swapfile create
Jeff Atwood [Tue, 10 May 2016 09:10:06 +0000 (02:10 -0700)]
sudo command redundant on swapfile create

8 years agoMerge pull request #253 from mjtko/fix/cve-2016-3714-updates
Régis Hanol [Fri, 6 May 2016 17:38:26 +0000 (19:38 +0200)]
Merge pull request #253 from mjtko/fix/cve-2016-3714-updates

Update ImageMagick security patch for CVE-2016–3714

8 years agoUpdate ImageMagick security patch for CVE-2016–3714 to latest recommendation
Mark Titorenko [Fri, 6 May 2016 09:00:55 +0000 (10:00 +0100)]
Update ImageMagick security patch for CVE-2016–3714 to latest recommendation

8 years agobug: skip_prereqs vs skip_prereq
Jeff Atwood [Wed, 4 May 2016 17:58:10 +0000 (10:58 -0700)]
bug: skip_prereqs vs skip_prereq

8 years agoadd comment
Sam [Tue, 3 May 2016 23:33:53 +0000 (09:33 +1000)]
add comment

8 years agoapply image magick security patch
Sam [Tue, 3 May 2016 23:30:43 +0000 (09:30 +1000)]
apply image magick security patch

8 years agomake minimum Docker version 1.8
Jeff Atwood [Tue, 3 May 2016 18:31:19 +0000 (11:31 -0700)]
make minimum Docker version 1.8

8 years agoMerge pull request #248 from mpalmer/stable-mac-address-take-2
Sam [Tue, 3 May 2016 00:48:39 +0000 (10:48 +1000)]
Merge pull request #248 from mpalmer/stable-mac-address-take-2

Produce random-but-stable MAC addresses, take 2

8 years agodiscourse has to own /home/discourse otherwise rubygem issues
Sam [Fri, 29 Apr 2016 06:11:08 +0000 (16:11 +1000)]
discourse has to own /home/discourse otherwise rubygem issues

8 years agoAdd --debug for bootstrapping, when set image is maintained for diag
Sam [Fri, 29 Apr 2016 05:57:19 +0000 (15:57 +1000)]
Add --debug for bootstrapping, when set image is maintained for diag

8 years agoKinder, gentler message for those who don't need SMTP authentication
Jeff Atwood [Thu, 28 Apr 2016 23:04:18 +0000 (16:04 -0700)]
Kinder, gentler message for those who don't need SMTP authentication

8 years agodon't start app if bootstrap failed
Jeff Atwood [Thu, 28 Apr 2016 23:02:27 +0000 (16:02 -0700)]
don't start app if bootstrap failed

8 years agostray A
Jeff Atwood [Thu, 28 Apr 2016 23:01:44 +0000 (16:01 -0700)]
stray A

8 years agoremove apt-get command that.. doesn't work
Jeff Atwood [Wed, 27 Apr 2016 23:20:10 +0000 (16:20 -0700)]
remove apt-get command that.. doesn't work

8 years agoomit needless words
Jeff Atwood [Wed, 27 Apr 2016 23:14:29 +0000 (16:14 -0700)]
omit needless words

8 years agosimplify resource checks
Jeff Atwood [Wed, 27 Apr 2016 22:59:22 +0000 (15:59 -0700)]
simplify resource checks

8 years agoadd auto swap creation
Jeff Atwood [Wed, 27 Apr 2016 22:47:46 +0000 (15:47 -0700)]
add auto swap creation

8 years agoslightly better copy
Jeff Atwood [Wed, 27 Apr 2016 21:06:41 +0000 (14:06 -0700)]
slightly better copy

8 years agoslightly better copy
Jeff Atwood [Wed, 27 Apr 2016 20:51:11 +0000 (13:51 -0700)]
slightly better copy

8 years agoMerge pull request #249 from pfaffman/fix-discourse-setup
Jeff Atwood [Wed, 27 Apr 2016 19:51:22 +0000 (12:51 -0700)]
Merge pull request #249 from pfaffman/fix-discourse-setup

Fix: discourse-setup replacements more robust

8 years agomake replacements of settings more rubust
Jay Pfaffman [Wed, 27 Apr 2016 18:41:35 +0000 (13:41 -0500)]
make replacements of settings more rubust

8 years agoFIX: Ports are not being exposed.
Guo Xiang Tan [Wed, 27 Apr 2016 16:10:39 +0000 (00:10 +0800)]
FIX: Ports are not being exposed.

8 years agoFix permissions, letsencrypt replacement, and value of $changelog
Jay Pfaffman [Wed, 27 Apr 2016 14:35:27 +0000 (09:35 -0500)]
Fix permissions, letsencrypt replacement, and value of $changelog

8 years agosplit Discourse specific code into discourse-setup
Jeff Atwood [Wed, 27 Apr 2016 10:05:56 +0000 (03:05 -0700)]
split Discourse specific code into discourse-setup

8 years agouse consistent fake email addresses
Jeff Atwood [Wed, 27 Apr 2016 07:44:16 +0000 (00:44 -0700)]
use consistent fake email addresses

8 years agowe really wanted a global replace here...
Sam [Wed, 27 Apr 2016 05:57:25 +0000 (15:57 +1000)]
we really wanted a global replace here...

8 years agoProduce random-but-stable MAC addresses, take 2
Matt Palmer [Wed, 27 Apr 2016 05:38:40 +0000 (15:38 +1000)]
Produce random-but-stable MAC addresses, take 2

This version works properly on ye olde versions of Docker (v1.7 was reported
as not working with the previous version of this patch).

8 years agoDon't raise usage warning when an invalid option is given.
Guo Xiang Tan [Wed, 27 Apr 2016 01:51:49 +0000 (09:51 +0800)]
Don't raise usage warning when an invalid option is given.

8 years agobetter name for prereq check
Jeff Atwood [Wed, 27 Apr 2016 00:36:58 +0000 (17:36 -0700)]
better name for prereq check

8 years agoMerge pull request #246 from pfaffman/no-more-nano
Jeff Atwood [Tue, 26 Apr 2016 22:42:22 +0000 (15:42 -0700)]
Merge pull request #246 from pfaffman/no-more-nano

No more nano

8 years agoMoved set_config to a setup command. Optionally runs bootstrap.
Jay Pfaffman [Tue, 26 Apr 2016 22:08:09 +0000 (17:08 -0500)]
Moved set_config to a setup command. Optionally runs bootstrap.

8 years agoIf config_file is unchanged, ask user for them interactively
Jay Pfaffman [Tue, 26 Apr 2016 19:37:26 +0000 (14:37 -0500)]
If config_file is unchanged, ask user for them interactively

```
If any defaults in config file have been changed, say so and skip config

while not approved

    Ask user for hostname, smtp config, letsencrypt
    Print values
    ask user if approved

(Trust that if user approves, the values are OK)

Write changes to config_file

Ask user to "Enter or ^C"

```

Most users will be satisfied and press enter to continue normal
bootstrap. Advanced users can ^C, edit config_file and then `./launcher
bootstrap app` with their tweaks.

8 years agoremove port and tls config
Jay Pfaffman [Tue, 26 Apr 2016 14:43:09 +0000 (09:43 -0500)]
remove port and tls config

8 years agoMerge pull request #245 from discourse/revert-233-mac-address
Sam [Tue, 26 Apr 2016 10:20:56 +0000 (20:20 +1000)]
Merge pull request #245 from discourse/revert-233-mac-address

Revert "Assign a stable but unique MAC address to each container"

8 years agoRevert "Assign a stable but unique MAC address to each container"
Sam [Tue, 26 Apr 2016 10:20:33 +0000 (20:20 +1000)]
Revert "Assign a stable but unique MAC address to each container"

8 years agoFIX: Incorrect syntax.
Guo Xiang Tan [Tue, 26 Apr 2016 07:48:01 +0000 (15:48 +0800)]
FIX: Incorrect syntax.

8 years agoMerge pull request #233 from mpalmer/mac-address
Jeff Atwood [Mon, 25 Apr 2016 23:25:59 +0000 (16:25 -0700)]
Merge pull request #233 from mpalmer/mac-address

Assign a stable but unique MAC address to each container

8 years agoMerge pull request #244 from tgxworld/allow_users_to_check_discourse_specific_prereqs
Jeff Atwood [Mon, 25 Apr 2016 23:25:27 +0000 (16:25 -0700)]
Merge pull request #244 from tgxworld/allow_users_to_check_discourse_specific_prereqs

Allow users to check discourse specific prereqs

8 years agoAllow users to skip Discourse specific prereqs.
Guo Xiang Tan [Mon, 25 Apr 2016 10:28:35 +0000 (18:28 +0800)]
Allow users to skip Discourse specific prereqs.

8 years agoFIX: config_file check was broken.
Guo Xiang Tan [Mon, 25 Apr 2016 10:04:34 +0000 (18:04 +0800)]
FIX: config_file check was broken.

8 years agoMerge pull request #243 from pfaffman/fix_git_check
Arpit Jalan [Sat, 23 Apr 2016 13:31:38 +0000 (19:01 +0530)]
Merge pull request #243 from pfaffman/fix_git_check

remove debug code. Sorry.

8 years agoremove debug code. Sorry.
Jay Pfaffman [Sat, 23 Apr 2016 13:21:36 +0000 (08:21 -0500)]
remove debug code. Sorry.

8 years agoMerge pull request #242 from pfaffman/git_version_check
Jeff Atwood [Sat, 23 Apr 2016 10:56:14 +0000 (03:56 -0700)]
Merge pull request #242 from pfaffman/git_version_check

Add test for git version 1.8

8 years agoAdd test for git version
Jay Pfaffman [Fri, 22 Apr 2016 15:00:17 +0000 (10:00 -0500)]
Add test for git version

8 years agocap max unicorns and max db mem, use phys core cnt
Jeff Atwood [Fri, 22 Apr 2016 10:39:00 +0000 (03:39 -0700)]
cap max unicorns and max db mem, use phys core cnt

8 years agoexit 0 after "container has already started"
Jeff Atwood [Fri, 22 Apr 2016 00:12:25 +0000 (17:12 -0700)]
exit 0 after "container has already started"

8 years agoincorrect GB calc
Jeff Atwood [Fri, 22 Apr 2016 00:07:49 +0000 (17:07 -0700)]
incorrect GB calc

8 years agomake missing config settings skippable
Jeff Atwood [Fri, 22 Apr 2016 00:04:38 +0000 (17:04 -0700)]
make missing config settings skippable

8 years agomove email setting closer to SMTP settings
Jeff Atwood [Thu, 21 Apr 2016 23:01:29 +0000 (16:01 -0700)]
move email setting closer to SMTP settings

8 years agoMerge pull request #240 from tgxworld/improve_message_in_disk_space_check
Jeff Atwood [Thu, 21 Apr 2016 19:51:15 +0000 (12:51 -0700)]
Merge pull request #240 from tgxworld/improve_message_in_disk_space_check

UX: Suggest commands to run in order to free up disk space.

8 years agoUX: Suggest commands to run in order to free up disk space.
Guo Xiang Tan [Thu, 21 Apr 2016 03:40:01 +0000 (11:40 +0800)]
UX: Suggest commands to run in order to free up disk space.

8 years agoFIX: Work around le.sh killing "letsencrypt" script for containing the letters "nc".
Guo Xiang Tan [Thu, 21 Apr 2016 02:47:33 +0000 (10:47 +0800)]
FIX: Work around le.sh killing "letsencrypt" script for containing the letters "nc".

8 years agoRun MAC address generation within a known environment
Matt Palmer [Thu, 21 Apr 2016 01:22:57 +0000 (11:22 +1000)]
Run MAC address generation within a known environment

We're taking the Mulder approach, Trust No-one.  ms5sum and sed may not be
as they seem...

8 years agoadd plugin info link
Jeff Atwood [Wed, 20 Apr 2016 23:46:50 +0000 (16:46 -0700)]
add plugin info link

8 years agomake bootstrap auto-set unicorn_workers and db memory
Jeff Atwood [Wed, 20 Apr 2016 22:56:03 +0000 (15:56 -0700)]
make bootstrap auto-set unicorn_workers and db memory