discourse_docker.git
8 years agoMerge pull request #228 from RomeoPapaSK/master
Sam [Wed, 30 Mar 2016 02:49:47 +0000 (13:49 +1100)]
Merge pull request #228 from RomeoPapaSK/master

Template for serving through an .onion address.

8 years agoTemplate for serving through an .onion address.
Romeo Papa [Thu, 24 Mar 2016 20:48:04 +0000 (21:48 +0100)]
Template for serving through an .onion address.

8 years agoMerge pull request #223 from fantasticfears/china
Guo Xiang Tan [Sun, 13 Mar 2016 13:32:21 +0000 (21:32 +0800)]
Merge pull request #223 from fantasticfears/china

Moving to ruby-china rubygems mirror for china template

8 years agoMoving to ruby-china rubygems mirror for china template
Erick Guan [Sat, 12 Mar 2016 18:46:29 +0000 (19:46 +0100)]
Moving to ruby-china rubygems mirror for china template

8 years agoFIX: Validate and add email when registering for Let's Encrypt account.
Guo Xiang Tan [Wed, 9 Mar 2016 05:05:19 +0000 (13:05 +0800)]
FIX: Validate and add email when registering for Let's Encrypt account.

8 years ago:scissors:
Guo Xiang Tan [Mon, 7 Mar 2016 23:40:45 +0000 (07:40 +0800)]
:scissors:

8 years agoEnsure directory is created otherwise script `ensure-web-nginx-read` fails.
Guo Xiang Tan [Mon, 7 Mar 2016 23:30:43 +0000 (07:30 +0800)]
Ensure directory is created otherwise script `ensure-web-nginx-read` fails.

8 years agofix yml extension
Régis Hanol [Mon, 7 Mar 2016 11:04:37 +0000 (12:04 +0100)]
fix yml extension

8 years agoadd pg 9.5 template
Régis Hanol [Mon, 7 Mar 2016 10:55:04 +0000 (11:55 +0100)]
add pg 9.5 template

8 years agoupgrade image
Sam Saffron [Mon, 22 Feb 2016 06:55:16 +0000 (17:55 +1100)]
upgrade image

8 years agobump version
Sam [Sun, 21 Feb 2016 23:50:27 +0000 (10:50 +1100)]
bump version

8 years agoMerge branch 'master' of github.com:discourse/discourse_docker
Sam [Sun, 21 Feb 2016 23:48:13 +0000 (10:48 +1100)]
Merge branch 'master' of github.com:discourse/discourse_docker

8 years agoMerge pull request #221 from tgxworld/remove_pngout
Sam [Sun, 21 Feb 2016 23:40:33 +0000 (10:40 +1100)]
Merge pull request #221 from tgxworld/remove_pngout

Remove pngout.

8 years agoMerge pull request #222 from tgxworld/port_in_use_warning
Sam [Sun, 21 Feb 2016 23:36:06 +0000 (10:36 +1100)]
Merge pull request #222 from tgxworld/port_in_use_warning

FEATURE: Exit launcher and warn if ports to expose are in use.

8 years agoLayer Let's Encrypt template onto SSL template.
Guo Xiang Tan [Sat, 20 Feb 2016 15:23:53 +0000 (23:23 +0800)]
Layer Let's Encrypt template onto SSL template.

8 years agoFEATURE: Exit launcher and warn if ports to expose are in use.
Guo Xiang Tan [Fri, 19 Feb 2016 09:19:50 +0000 (17:19 +0800)]
FEATURE: Exit launcher and warn if ports to expose are in use.

8 years agoRemove pngout.
Guo Xiang Tan [Fri, 19 Feb 2016 08:15:17 +0000 (16:15 +0800)]
Remove pngout.

fixes https://github.com/discourse/discourse_docker/issues/207

8 years agoMerge pull request #220 from fefrei/patch-1
Sam [Thu, 18 Feb 2016 22:43:28 +0000 (09:43 +1100)]
Merge pull request #220 from fefrei/patch-1

Added link to Meta howto to standalone sample.

8 years agoAdded link to Meta howto to standalone sample.
fefrei [Thu, 18 Feb 2016 10:16:20 +0000 (11:16 +0100)]
Added link to Meta howto to standalone sample.

8 years agoRemove unused command.
Guo Xiang Tan [Mon, 15 Feb 2016 09:19:39 +0000 (17:19 +0800)]
Remove unused command.

8 years agoAdd Let's Encrypt SSL template.
Guo Xiang Tan [Wed, 10 Feb 2016 00:59:55 +0000 (08:59 +0800)]
Add Let's Encrypt SSL template.

8 years agodon't do this
Sam [Tue, 9 Feb 2016 22:31:53 +0000 (09:31 +1100)]
don't do this

8 years agocorrect implementation
Sam [Tue, 9 Feb 2016 22:04:00 +0000 (09:04 +1100)]
correct implementation

8 years agosupport removal of env from parent
Sam [Tue, 9 Feb 2016 21:59:39 +0000 (08:59 +1100)]
support removal of env from parent

8 years agoMerge pull request #217 from gschlager/phpbb3-import
Sam [Thu, 4 Feb 2016 22:44:30 +0000 (09:44 +1100)]
Merge pull request #217 from gschlager/phpbb3-import

Add template for phpBB3 importer

8 years agoAdd template for phpBB3 importer
Gerhard Schlager [Sun, 31 Jan 2016 01:07:49 +0000 (02:07 +0100)]
Add template for phpBB3 importer

8 years agoupdate image
Sam [Wed, 27 Jan 2016 00:58:22 +0000 (11:58 +1100)]
update image

8 years agoupgrade pngcrush
Sam [Tue, 26 Jan 2016 08:03:46 +0000 (19:03 +1100)]
upgrade pngcrush

8 years agoversion bump
Sam [Tue, 26 Jan 2016 05:40:16 +0000 (16:40 +1100)]
version bump

8 years agoFIX: force all sub processes to stop on TERM, wait for them to finish
Sam [Tue, 26 Jan 2016 05:25:37 +0000 (16:25 +1100)]
FIX: force all sub processes to stop on TERM, wait for them to finish

This works around docker bug where containers will not stop

8 years agoFEATURE: add support for boot_command and run_image
Sam [Fri, 22 Jan 2016 08:28:49 +0000 (19:28 +1100)]
FEATURE: add support for boot_command and run_image

These changes allow launcher to easily run arbitrary images

8 years agoUpdate README.md
Sam [Tue, 19 Jan 2016 08:40:47 +0000 (19:40 +1100)]
Update README.md

remove ssh refs

8 years agoUpdate standalone.yml
Sam [Tue, 19 Jan 2016 08:39:23 +0000 (19:39 +1100)]
Update standalone.yml

less ssh

8 years agoUpdate standalone.yml
Sam [Tue, 19 Jan 2016 08:38:47 +0000 (19:38 +1100)]
Update standalone.yml

8 years agoRevert "Add ICU library"
Régis Hanol [Mon, 18 Jan 2016 21:19:40 +0000 (22:19 +0100)]
Revert "Add ICU library"

This reverts commit e298287ffe79702e092fa341814916918542b5f7.

8 years agoAdd ICU library
Régis Hanol [Mon, 18 Jan 2016 19:15:10 +0000 (20:15 +0100)]
Add ICU library

Used by the https://github.com/brianmario/charlock_holmes gem

8 years agoRemove SSH refs
Sam [Sat, 9 Jan 2016 06:39:27 +0000 (17:39 +1100)]
Remove SSH refs

8 years agoMerge pull request #215 from fantasticfears/link
Sam [Thu, 7 Jan 2016 13:09:27 +0000 (00:09 +1100)]
Merge pull request #215 from fantasticfears/link

Using docker link over port in multi container samples

8 years agoUsing docker link over port in multi container samples
Erick Guan [Thu, 7 Jan 2016 12:52:42 +0000 (13:52 +0100)]
Using docker link over port in multi container samples

8 years agoUpdate data.yml
Sam [Wed, 6 Jan 2016 22:24:41 +0000 (09:24 +1100)]
Update data.yml

clean expose sample

8 years agoskip prereqs also skips resource checks
Sam [Mon, 28 Dec 2015 07:00:10 +0000 (18:00 +1100)]
skip prereqs also skips resource checks

8 years agoMerge branch 'master' of github.com:discourse/discourse_docker
Sam [Thu, 10 Dec 2015 23:53:02 +0000 (10:53 +1100)]
Merge branch 'master' of github.com:discourse/discourse_docker

8 years agobump required docker version
Sam [Mon, 7 Dec 2015 09:18:54 +0000 (20:18 +1100)]
bump required docker version

8 years agoMerge pull request #209 from Jdesk/patch-1
Sam [Thu, 3 Dec 2015 10:20:40 +0000 (21:20 +1100)]
Merge pull request #209 from Jdesk/patch-1

Update web.socketed.template.yml

8 years agoUpdate web.socketed.template.yml
James Barlow [Thu, 3 Dec 2015 09:53:49 +0000 (04:53 -0500)]
Update web.socketed.template.yml

changed spdy to http2

8 years agoMerge pull request #208 from Stealthii/feature/http2
Sam [Thu, 3 Dec 2015 04:52:10 +0000 (15:52 +1100)]
Merge pull request #208 from Stealthii/feature/http2

Replace SPDY directives with HTTP/2

8 years agoReplace SPDY directives with HTTP/2
Daniel Porter [Tue, 1 Dec 2015 16:56:24 +0000 (16:56 +0000)]
Replace SPDY directives with HTTP/2

9 years agoadd version file
Sam [Tue, 24 Nov 2015 00:51:20 +0000 (11:51 +1100)]
add version file

9 years agoMerge pull request #206 from dereckson/empty-dir
Régis Hanol [Thu, 19 Nov 2015 09:09:15 +0000 (10:09 +0100)]
Merge pull request #206 from dereckson/empty-dir

Avoid empty directory /var/www/discourse/plugins/plugins

9 years agobump version
Sam Saffron [Thu, 19 Nov 2015 08:56:24 +0000 (03:56 -0500)]
bump version

9 years agoAvoid empty directory /var/www/discourse/plugins/plugins
Sébastien Santoro [Thu, 19 Nov 2015 06:12:26 +0000 (06:12 +0000)]
Avoid empty directory /var/www/discourse/plugins/plugins

9 years agobump version
Sam Saffron [Thu, 19 Nov 2015 00:23:23 +0000 (19:23 -0500)]
bump version

9 years agoexit on fail
Sam Saffron [Thu, 19 Nov 2015 00:14:59 +0000 (19:14 -0500)]
exit on fail

9 years agoMerge pull request #205 from dereckson/patch-1
Sam [Wed, 18 Nov 2015 22:59:37 +0000 (09:59 +1100)]
Merge pull request #205 from dereckson/patch-1

Install pngcrush 1.7.87 instead of 1.7.85

9 years agoInstall pngcrush 1.7.87 instead of 1.7.85
Sébastien Santoro [Wed, 18 Nov 2015 22:38:54 +0000 (23:38 +0100)]
Install pngcrush 1.7.87 instead of 1.7.85

pngcrush 1.7.85 isn't downloadable anymore

According to http://sourceforge.net/projects/pmt/files/pngcrush/
only two versions are directly available: the released 1.7.87 and up-to-come 1.7.88.

**Upstream changelog**

pngcrush-1.7.87 fixes a double-free bug in the sPLT chunk handling

9 years agouse new image
Sam Saffron [Wed, 18 Nov 2015 09:45:14 +0000 (04:45 -0500)]
use new image

9 years agoupgrade images
Sam Saffron [Wed, 18 Nov 2015 05:49:02 +0000 (00:49 -0500)]
upgrade images

9 years agoadd better unicorn number advice
Jeff Atwood [Fri, 13 Nov 2015 06:41:36 +0000 (22:41 -0800)]
add better unicorn number advice

9 years agoforce latest tag
Sam [Mon, 2 Nov 2015 02:35:14 +0000 (13:35 +1100)]
force latest tag

9 years agodocker dev discourse image
Sam [Mon, 2 Nov 2015 02:33:59 +0000 (13:33 +1100)]
docker dev discourse image

9 years agoFix broken syntax in cloudflare template
Matt Palmer [Fri, 30 Oct 2015 21:56:33 +0000 (08:56 +1100)]
Fix broken syntax in cloudflare template

My assumption is that CF used to send their IP list without a trailing
newline, and they've recently fixed that, causing riking's hack to emit an
*extra* newline, which caused the reported problem.

9 years agoTweak the Vagrantfile for more CPUs, earlier proxy config
Matt Palmer [Sun, 18 Oct 2015 02:52:30 +0000 (13:52 +1100)]
Tweak the Vagrantfile for more CPUs, earlier proxy config

9 years agoAdjust down the OOM score on PgSQL databases
Matt Palmer [Fri, 16 Oct 2015 11:28:34 +0000 (22:28 +1100)]
Adjust down the OOM score on PgSQL databases

9 years agoOnly check resources on bootstrap / rebuild
Matt Palmer [Mon, 21 Sep 2015 03:47:48 +0000 (13:47 +1000)]
Only check resources on bootstrap / rebuild

There's no reason to make sure there's enough diskspace or memory unless
we're building a container.

9 years agouse docker-gc docker image
Sam Saffron [Wed, 28 Oct 2015 22:11:45 +0000 (09:11 +1100)]
use docker-gc docker image

9 years agoMerge pull request #200 from dandv/patch-1
Régis Hanol [Fri, 16 Oct 2015 12:58:39 +0000 (14:58 +0200)]
Merge pull request #200 from dandv/patch-1

Fix typo

9 years agoMerge pull request #201 from dandv/patch-2
Régis Hanol [Fri, 16 Oct 2015 12:58:16 +0000 (14:58 +0200)]
Merge pull request #201 from dandv/patch-2

Create README.md

9 years agoCreate README.md
Dan Dascalescu [Fri, 16 Oct 2015 12:42:12 +0000 (05:42 -0700)]
Create README.md

9 years agoFix typo
Dan Dascalescu [Fri, 16 Oct 2015 12:41:41 +0000 (05:41 -0700)]
Fix typo

9 years agoMerge pull request #199 from Mooash/master
Sam [Fri, 16 Oct 2015 00:07:24 +0000 (11:07 +1100)]
Merge pull request #199 from Mooash/master

Trust the real_ip header sent form socket connections

9 years agoIf sockets are being used trust the real_ip header sent form connections to it by...
Mooash [Thu, 15 Oct 2015 11:30:53 +0000 (22:30 +1100)]
If sockets are being used trust the real_ip header sent form connections to it by default

9 years agoperms
Sam [Mon, 12 Oct 2015 04:04:29 +0000 (15:04 +1100)]
perms

9 years agoupdate docker gc script
Sam [Sun, 11 Oct 2015 22:52:53 +0000 (09:52 +1100)]
update docker gc script

9 years agooops needed for bootstrap
Sam [Tue, 22 Sep 2015 08:28:09 +0000 (18:28 +1000)]
oops needed for bootstrap

9 years agoupgrade base image
Sam [Tue, 22 Sep 2015 03:41:59 +0000 (13:41 +1000)]
upgrade base image

9 years agofix hash
Sam [Tue, 22 Sep 2015 02:55:06 +0000 (12:55 +1000)]
fix hash

9 years agoupdate node
Sam [Tue, 22 Sep 2015 02:00:55 +0000 (12:00 +1000)]
update node

9 years agoupgrade rubies, get ready for new image
Sam [Tue, 22 Sep 2015 01:56:22 +0000 (11:56 +1000)]
upgrade rubies, get ready for new image

9 years agoUpdate standalone.yml
Jeff Atwood [Mon, 21 Sep 2015 08:25:33 +0000 (01:25 -0700)]
Update standalone.yml

add warning about pound symbol in smtp password

9 years agoDon't wig out when on a 1GB instance with swap
Matt Palmer [Thu, 17 Sep 2015 00:03:13 +0000 (10:03 +1000)]
Don't wig out when on a 1GB instance with swap

9 years agoMerge pull request #189 from mpalmer/memory-test-take-2
Jeff Atwood [Wed, 16 Sep 2015 10:23:21 +0000 (03:23 -0700)]
Merge pull request #189 from mpalmer/memory-test-take-2

Fix memory check to not account for 'free' memory

9 years agoMore adjustments to the launcher resource checks
Matt Palmer [Tue, 15 Sep 2015 23:56:14 +0000 (09:56 +1000)]
More adjustments to the launcher resource checks

* Don't *fail* the install, just warn that the user doesn't have enough to
  be comfortable.  We pause the installation to allow the user to go fix
  their system if they want to, but only if they're running interactively.

* Drop the limits for detecting how much RAM a system has, because a VM with
  1GB of RAM doesn't actually *report* that (kernel memory isn't in `free
  -m`).

9 years agoFix memory check to not account for 'free' memory
Matt Palmer [Mon, 14 Sep 2015 23:12:01 +0000 (09:12 +1000)]
Fix memory check to not account for 'free' memory

Previous, 'clever' check didn't take into account the possibility
of Discourse already running.

9 years agocomment out memory tests
Sam [Mon, 14 Sep 2015 20:17:57 +0000 (06:17 +1000)]
comment out memory tests

9 years agoMerge pull request #188 from mpalmer/vagrantfile
Sam [Mon, 14 Sep 2015 07:23:52 +0000 (17:23 +1000)]
Merge pull request #188 from mpalmer/vagrantfile

Add a basic Vagrantfile for local testing

9 years agoAdd a bit of light documentation for using Vagrant
Matt Palmer [Mon, 14 Sep 2015 05:49:08 +0000 (15:49 +1000)]
Add a bit of light documentation for using Vagrant

9 years agoLink the git repo to the default location for discourse
Matt Palmer [Mon, 14 Sep 2015 05:48:15 +0000 (15:48 +1000)]
Link the git repo to the default location for discourse

9 years agoSet default memory size to our no-swap-needed minimum
Matt Palmer [Mon, 14 Sep 2015 05:45:14 +0000 (15:45 +1000)]
Set default memory size to our no-swap-needed minimum

9 years agoAutomatically install Docker in the recommended fashion
Matt Palmer [Mon, 14 Sep 2015 05:32:51 +0000 (15:32 +1000)]
Automatically install Docker in the recommended fashion

This should be enough to ensure that, if this install method were to
become unavailable in the future, we'd know about it and could alter
our other documentation.

9 years agoMerge pull request #187 from mpalmer/prereq-resources
Sam [Mon, 14 Sep 2015 05:20:21 +0000 (15:20 +1000)]
Merge pull request #187 from mpalmer/prereq-resources

Test that we have enough memory and diskspace before installing

9 years agoAdd a basic Vagrantfile for local testing
Matt Palmer [Mon, 14 Sep 2015 04:18:21 +0000 (14:18 +1000)]
Add a basic Vagrantfile for local testing

It comes in handy when you want to poke around with things; anyone who
tries to use this for production-like deployments should be gently but
firmly dissuaded.

9 years agoTest that we have enough memory and diskspace before installing
Matt Palmer [Mon, 14 Sep 2015 04:12:31 +0000 (14:12 +1000)]
Test that we have enough memory and diskspace before installing

The minimum specs for a Discourse server are a standalone machine with 1GB
of memory + 1GB swap, or 2GB of memory.  To try and catch anyone who's doing
this on a larger machine with lots of other stuff going on, I've checked
"available" memory (used memory minus disk cache) rather than total memory.

9 years agoMerge pull request #179 from Stealthii/bugfix/docker-install-docs
Sam [Mon, 17 Aug 2015 23:43:08 +0000 (09:43 +1000)]
Merge pull request #179 from Stealthii/bugfix/docker-install-docs

Clarify Ubuntu-specific docker install instructions

9 years agoMerge pull request #178 from Blaisorblade/topic/yaml-docker-args-expose
Sam [Mon, 17 Aug 2015 23:35:23 +0000 (09:35 +1000)]
Merge pull request #178 from Blaisorblade/topic/yaml-docker-args-expose

Add docker_args support to YAML configs (fix #175)

9 years agoClarify Ubuntu-specific docker install instructions
Daniel Porter [Mon, 17 Aug 2015 14:18:54 +0000 (15:18 +0100)]
Clarify Ubuntu-specific docker install instructions

9 years agoupdate bundler
Sam [Mon, 17 Aug 2015 07:24:06 +0000 (17:24 +1000)]
update bundler

9 years agoAdd eslint to test image
Robin Ward [Thu, 13 Aug 2015 18:49:16 +0000 (14:49 -0400)]
Add eslint to test image

9 years agoShow docker_args also in other YAML files
Paolo G. Giarrusso [Thu, 13 Aug 2015 13:49:27 +0000 (15:49 +0200)]
Show docker_args also in other YAML files

Arguably redundant but useful.

9 years agoAdd docker_args to YAML syntax (fix #175)
Paolo G. Giarrusso [Thu, 13 Aug 2015 13:48:39 +0000 (15:48 +0200)]
Add docker_args to YAML syntax (fix #175)

Also update main sample YAML.

9 years agoMerge pull request #177 from krichprollsch/patch-1
Sam [Thu, 30 Jul 2015 03:04:29 +0000 (13:04 +1000)]
Merge pull request #177 from krichprollsch/patch-1

Update install docker instructions