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

8 years agoUpdate standalone.yml
Jeff Atwood [Wed, 20 Apr 2016 22:51:35 +0000 (15:51 -0700)]
Update standalone.yml

8 years agoMerge pull request #239 from pfaffman/add_memconfig
Jeff Atwood [Wed, 20 Apr 2016 20:39:22 +0000 (13:39 -0700)]
Merge pull request #239 from pfaffman/add_memconfig

Add memconfig

8 years agomake docker check more reliable
Jeff Atwood [Wed, 20 Apr 2016 20:39:05 +0000 (13:39 -0700)]
make docker check more reliable

8 years agoremove SSH command, improve valid check
Jeff Atwood [Wed, 20 Apr 2016 19:50:30 +0000 (12:50 -0700)]
remove SSH command, improve valid check

8 years agomore refinements
Jeff Atwood [Wed, 20 Apr 2016 18:54:52 +0000 (11:54 -0700)]
more refinements

8 years agodon't validate SMTP TLS or PORT
Jeff Atwood [Wed, 20 Apr 2016 18:47:16 +0000 (11:47 -0700)]
don't validate SMTP TLS or PORT

8 years agoremove docker 1.2 references, we block on any version under 1.6 anyway
Jeff Atwood [Wed, 20 Apr 2016 18:42:29 +0000 (11:42 -0700)]
remove docker 1.2 references, we block on any version under 1.6 anyway

8 years agoMake change/unchange language clearer
Jay Pfaffman [Wed, 20 Apr 2016 18:34:09 +0000 (13:34 -0500)]
Make change/unchange language clearer

8 years agoRemove dependency on standalone.template & fix replacement
Jay Pfaffman [Wed, 20 Apr 2016 18:24:40 +0000 (13:24 -0500)]
Remove dependency on standalone.template & fix replacement

8 years agoChange only commented-out values of UNICORN_WORKERS and db_shared_buffers
Jay Pfaffman [Wed, 20 Apr 2016 18:21:14 +0000 (13:21 -0500)]
Change only commented-out values of UNICORN_WORKERS and db_shared_buffers

8 years agobetter layout
Jeff Atwood [Wed, 20 Apr 2016 18:15:26 +0000 (11:15 -0700)]
better layout

8 years agoclean up template a lot
Jeff Atwood [Wed, 20 Apr 2016 18:10:48 +0000 (11:10 -0700)]
clean up template a lot

8 years agowe don't need a TODO here
Jeff Atwood [Wed, 20 Apr 2016 17:55:54 +0000 (10:55 -0700)]
we don't need a TODO here

8 years agoMerge pull request #238 from pfaffman/add_memconfig
Jeff Atwood [Wed, 20 Apr 2016 17:29:06 +0000 (10:29 -0700)]
Merge pull request #238 from pfaffman/add_memconfig

Don't set db_work_mem

8 years agoDon't set db_work_mem
Jay Pfaffman [Wed, 20 Apr 2016 17:19:16 +0000 (12:19 -0500)]
Don't set db_work_mem

8 years agoMerge pull request #236 from pfaffman/add_memconfig
Jeff Atwood [Wed, 20 Apr 2016 17:14:06 +0000 (10:14 -0700)]
Merge pull request #236 from pfaffman/add_memconfig

Add memconfig to launcher: Configure defaults based on available RAM

8 years agowe don't need a TODO here
Jeff Atwood [Wed, 20 Apr 2016 17:12:44 +0000 (10:12 -0700)]
we don't need a TODO here

8 years agoMerge pull request #237 from pfaffman/bootstrap_sanity_checks
Jeff Atwood [Wed, 20 Apr 2016 17:10:34 +0000 (10:10 -0700)]
Merge pull request #237 from pfaffman/bootstrap_sanity_checks

Add mail config sanity check

8 years agoAdd mail config sanity check
Jay Pfaffman [Wed, 20 Apr 2016 17:02:17 +0000 (12:02 -0500)]
Add mail config sanity check

Checks that all SMTP config variables are set. If not, a warning is
printed and user gets option to ^C to fix.

8 years agoAdd memconfig to launcher: Configure defaults based on available RAM
Jay Pfaffman [Wed, 20 Apr 2016 15:48:39 +0000 (10:48 -0500)]
Add memconfig to launcher: Configure defaults based on available RAM

Creates or modifies config of db_shared_buffers, db_work_mem, and
UNICORN_WORKERS based on available RAM. Parameters not set in config
file (i.e., commented out), are left unchanged and a warning is printed.
Uses samples/standalone_template.yml as basis, but if accepted, I
recommend uncommenting these defaults in standalone.yml and using it
instead.

8 years agoImprove LETSENCRYPT_ACCOUNT_EMAIL comment (#235)
Dan Dascalescu [Wed, 20 Apr 2016 04:11:09 +0000 (21:11 -0700)]
Improve LETSENCRYPT_ACCOUNT_EMAIL comment (#235)

* Improve LETSENCRYPT_ACCOUNT_EMAIL comment

8 years agoMerge pull request #234 from dandv/patch-1
Guo Xiang Tan [Wed, 20 Apr 2016 00:17:12 +0000 (08:17 +0800)]
Merge pull request #234 from dandv/patch-1

"Comment out" -> "Uncomment"

8 years ago"Comment out" -> "Uncomment"
Dan Dascalescu [Wed, 20 Apr 2016 00:12:17 +0000 (17:12 -0700)]
"Comment out" -> "Uncomment"

8 years agoAssign a stable but unique MAC address to each container
Matt Palmer [Tue, 19 Apr 2016 20:05:43 +0000 (06:05 +1000)]
Assign a stable but unique MAC address to each container

This does Very Good Things for IPv6 addresses (at least on versions of
Docker that aren't [buggy](https://github.com/docker/docker/issues/17739)).
You get an IPv6 address which doesn't change on each reboot, and at the same
time you don't get different containers having the same IPv6 address at
different times.  Wins all round!

8 years agoPin acme.sh client to 2.0.1.
Guo Xiang Tan [Fri, 15 Apr 2016 01:39:13 +0000 (09:39 +0800)]
Pin acme.sh client to 2.0.1.

8 years agomove normalization
Sam [Thu, 14 Apr 2016 06:21:47 +0000 (16:21 +1000)]
move normalization

8 years agodocker amended hostname rules, comply...
Sam [Thu, 14 Apr 2016 06:19:23 +0000 (16:19 +1000)]
docker amended hostname rules, comply...

8 years agouse short hostname
Sam [Thu, 14 Apr 2016 05:54:48 +0000 (15:54 +1000)]
use short hostname

8 years agoMerge pull request #231 from samnazarko/port_bind_check_fix
Sam [Mon, 4 Apr 2016 21:48:00 +0000 (07:48 +1000)]
Merge pull request #231 from samnazarko/port_bind_check_fix

Inform the user that they can --skip-prereqs if they want to continue after port check fails

8 years agoInform the user that they can --skip-prereqs if they want to continue after port...
Sam Nazarko [Thu, 31 Mar 2016 00:16:42 +0000 (01:16 +0100)]
Inform the user that they can --skip-prereqs if they want to continue after port check fails

Signed-off-by: Sam Nazarko <email@samnazarko.co.uk>
8 years agoMerge pull request #202 from fbender/override-default-docker-hostname
Sam [Mon, 4 Apr 2016 04:52:42 +0000 (14:52 +1000)]
Merge pull request #202 from fbender/override-default-docker-hostname

Add switch to override the default Docker hostname (fixes #193)

8 years agoAdd switch to override the default Docker hostname (fixes #193)
Florian Bender [Fri, 16 Oct 2015 12:49:03 +0000 (14:49 +0200)]
Add switch to override the default Docker hostname (fixes #193)

A new (optional) ENV var was added to the templates that instructs the
`launcher` script to use the DISCOURSE_HOSTNAME as the Docker hostname
(via the -h/--hostname option) instead of the default value of
`$hostname-$config`.

8 years agoMerge pull request #226 from fantasticfears/enter
Sam [Fri, 1 Apr 2016 00:55:10 +0000 (11:55 +1100)]
Merge pull request #226 from fantasticfears/enter

FEATURE: change login directory to discourse home when enter a container

8 years agoMerge pull request #230 from djtye/master
Jeff Atwood [Thu, 31 Mar 2016 08:19:51 +0000 (01:19 -0700)]
Merge pull request #230 from djtye/master

Lets Encrypt Should Become Default

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 agoSSL ready
David Tye [Tue, 29 Mar 2016 22:15:41 +0000 (23:15 +0100)]
SSL ready

8 years agoMake the installer aka root user aware that lets Encrypt can be installed
David Tye [Tue, 29 Mar 2016 22:15:10 +0000 (23:15 +0100)]
Make the installer aka root user aware that lets Encrypt can be installed

8 years agoLets Encrypt Should Become Default
David Tye [Tue, 29 Mar 2016 22:03:53 +0000 (23:03 +0100)]
Lets Encrypt Should Become Default

Lets make Discourse have Lets Encrypt by default.

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 agoFEATURE: change login directory to discourse home when enter a container
Erick Guan [Sat, 19 Mar 2016 09:10:02 +0000 (10:10 +0100)]
FEATURE: change login directory to discourse home when enter a container

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