Daniel Porter [Mon, 28 Apr 2014 18:26:59 +0000 (19:26 +0100)]
Better logic to determine required Docker version
This commit adds support for both a minimum Docker version, and the
version currently recommended by Docker development team. If the user is
not running the minimum version, the script will not continue. User is
warned if they have any version prior to the currently recommended
version.
Régis Hanol [Fri, 25 Apr 2014 07:40:44 +0000 (09:40 +0200)]
Merge pull request #37 from Supermathie/mailtest-1204
Check before using ssl.create_default_context
Michael Brown [Fri, 25 Apr 2014 06:18:54 +0000 (02:18 -0400)]
Check before using ssl.create_default_context
Sam [Thu, 24 Apr 2014 02:49:51 +0000 (12:49 +1000)]
Merge pull request #35 from albertogg/fix-gemrc
Fix gem configuration path
albertogg [Thu, 24 Apr 2014 01:24:05 +0000 (20:54 -0430)]
Fix gem configuration path
Stop gem from installing gems documentation globally.
Sam [Wed, 23 Apr 2014 23:55:32 +0000 (09:55 +1000)]
missed a few templates
Sam [Wed, 23 Apr 2014 23:51:55 +0000 (09:51 +1000)]
Use new forking trick as opposed to seperate sidekiq process
(saves 7% memory)
Sam [Wed, 23 Apr 2014 06:49:24 +0000 (16:49 +1000)]
BUGFIX: remove blank strings from ENV passing
Sam [Tue, 22 Apr 2014 21:52:12 +0000 (07:52 +1000)]
Merge pull request #34 from Supermathie/mkswap
Add script to easily make a swapfile
Michael Brown [Tue, 22 Apr 2014 17:50:52 +0000 (13:50 -0400)]
mk_swapfile: add option to specify size in GB
Michael Brown [Tue, 22 Apr 2014 17:06:36 +0000 (13:06 -0400)]
Modify swapfile size from 512MiB to 1GiB
Michael Brown [Tue, 22 Apr 2014 13:54:18 +0000 (09:54 -0400)]
Add script to easily make a swapfile
Régis Hanol [Tue, 22 Apr 2014 09:22:56 +0000 (11:22 +0200)]
Merge pull request #33 from Supermathie/emailtest
mailtest enhancements
Michael Brown [Tue, 22 Apr 2014 02:31:48 +0000 (22:31 -0400)]
Add suggestions to mailtest script
* add output colorization if available
* add list of 'known good settings'
* add suggestions based on port used
Michael Brown [Tue, 22 Apr 2014 01:11:24 +0000 (21:11 -0400)]
Search for docker.io command (Ubuntu) as well
Robin Ward [Sat, 19 Apr 2014 22:11:11 +0000 (18:11 -0400)]
Merge pull request #32 from Supermathie/emailtest
Add ability to test email from launcher
Michael Brown [Sat, 19 Apr 2014 07:09:10 +0000 (03:09 -0400)]
Add ability to test email from launcher
Jeff Atwood [Fri, 18 Apr 2014 20:22:28 +0000 (13:22 -0700)]
CDN requires leading //
Jeff Atwood [Fri, 18 Apr 2014 07:31:01 +0000 (00:31 -0700)]
add CDN to standalone template
Jeff Atwood [Fri, 18 Apr 2014 05:35:11 +0000 (22:35 -0700)]
improve standalone.yml documentation
Robin Ward [Sun, 13 Apr 2014 21:28:34 +0000 (17:28 -0400)]
Merge pull request #30 from Supermathie/fix-hang
Work around 'docker run' waiting for input
Michael Brown [Sun, 13 Apr 2014 21:23:01 +0000 (17:23 -0400)]
Work around 'docker run' waiting for input
* https://github.com/dotcloud/docker/issues/5185
Robin Ward [Thu, 10 Apr 2014 21:08:08 +0000 (17:08 -0400)]
We can have more than 2 arguments now
Robin Ward [Thu, 10 Apr 2014 20:54:59 +0000 (16:54 -0400)]
Adds new command line option to skip pre-requisites. This was causing
discourse-droplet to hang.
Sam [Wed, 9 Apr 2014 01:38:50 +0000 (11:38 +1000)]
BUGFIX: No more heartbleed
updated base image
Sam [Wed, 9 Apr 2014 01:02:06 +0000 (11:02 +1000)]
UPGRADE: docker 0.10 is now out
Sam [Tue, 8 Apr 2014 06:06:24 +0000 (16:06 +1000)]
Merge pull request #28 from Supermathie/update-020
Update base image to 0.2.0
Michael Brown [Tue, 8 Apr 2014 04:29:24 +0000 (00:29 -0400)]
Update base image to 0.2.0
* add -updates repository
* add rsyslog
* use caching proxy during build if present
* much resilient!
Sam [Mon, 7 Apr 2014 21:55:03 +0000 (07:55 +1000)]
Update standalone.yml
Sam [Mon, 7 Apr 2014 05:23:52 +0000 (15:23 +1000)]
Merge pull request #27 from Supermathie/rsyslog
Add rsyslog to cron.template
Michael Brown [Mon, 7 Apr 2014 04:21:35 +0000 (00:21 -0400)]
Add rsyslog to cron.template
Sam [Wed, 2 Apr 2014 00:46:24 +0000 (11:46 +1100)]
Added a rebuild command to simplify rebuilding containers
Sam [Tue, 1 Apr 2014 11:37:36 +0000 (22:37 +1100)]
oops
Sam [Tue, 25 Mar 2014 05:22:46 +0000 (16:22 +1100)]
Update README.md
Sam [Tue, 25 Mar 2014 04:46:28 +0000 (15:46 +1100)]
Added web hook
Fixed syntax error
Sam [Tue, 25 Mar 2014 04:21:58 +0000 (15:21 +1100)]
FEATURE: ability to run old PG if needed
Second upgrade method if primary fails
Sam [Mon, 24 Mar 2014 21:46:14 +0000 (08:46 +1100)]
Merge pull request #24 from alexdong/patch-1
Add examples to bind to only one network interface
Alex Dong [Mon, 24 Mar 2014 21:39:34 +0000 (10:39 +1300)]
Add examples to bind to only one network interface
Add `- "127.0.0.1:20080:80"` to `expose` example as well as the full docker port binding syntax.
Sam [Mon, 24 Mar 2014 07:13:45 +0000 (18:13 +1100)]
Merge pull request #23 from Supermathie/userfriendly
Enhanced user experience
Michael Brown [Mon, 24 Mar 2014 06:40:41 +0000 (02:40 -0400)]
Enhanced user experience
* launcher: add test: docker daemon running?
* launcher: bugfix: double-quotes were getting into SSH_PUB_KEY variable
* samples: add comments to port specs, email, smtp settings, etc
* samples: add run block with examples for root password, ssh key import
Sam [Mon, 24 Mar 2014 03:35:33 +0000 (14:35 +1100)]
Merge pull request #22 from Supermathie/master
Add support for detecting & pulling in DSA key
Michael Brown [Mon, 24 Mar 2014 03:10:57 +0000 (23:10 -0400)]
Add support for detecting & pulling in DSA key
Sam [Sun, 23 Mar 2014 21:40:27 +0000 (08:40 +1100)]
Merge pull request #21 from btobolaski/master
Fix upgrade instructions with a new container
Brendan Tobolaski [Sun, 23 Mar 2014 02:50:06 +0000 (21:50 -0500)]
Fix upgrade instructions with a new container
If you attempt to bootstrap a new container without stopping or destroying the original it will fail because postgres will detect that it is running in another container.
Sam [Sat, 22 Mar 2014 21:08:00 +0000 (08:08 +1100)]
Update postgres.template.yml
add an update so we can get the package
Régis Hanol [Sat, 22 Mar 2014 15:58:16 +0000 (16:58 +0100)]
Merge pull request #18 from abackstrom/patch-1
Spelling: s/discoruse/discourse/
Annika Backstrom [Sat, 22 Mar 2014 12:13:42 +0000 (08:13 -0400)]
Spelling: s/discoruse/discourse/
Sam [Fri, 21 Mar 2014 05:36:45 +0000 (16:36 +1100)]
tty may not be there
Sam [Fri, 21 Mar 2014 05:06:12 +0000 (16:06 +1100)]
more useful motd message, added shortcut for various tools
Sam [Fri, 21 Mar 2014 04:03:04 +0000 (15:03 +1100)]
implement restart
Sam [Fri, 21 Mar 2014 03:55:48 +0000 (14:55 +1100)]
ssh key is now automatic no need to configure it
Sam [Fri, 21 Mar 2014 02:17:33 +0000 (13:17 +1100)]
Add pre-flight tests
Sam [Tue, 18 Mar 2014 23:54:42 +0000 (10:54 +1100)]
Update README.md
Sam [Tue, 18 Mar 2014 23:13:21 +0000 (10:13 +1100)]
remove spdy header
Sam [Tue, 18 Mar 2014 22:59:44 +0000 (09:59 +1100)]
remove SPDY due to buffer overflow
Sam [Tue, 18 Mar 2014 07:15:50 +0000 (18:15 +1100)]
Added SSL template
Sam Saffron [Fri, 14 Mar 2014 02:19:32 +0000 (22:19 -0400)]
fix holes in upgrade
Sam [Fri, 14 Mar 2014 00:38:28 +0000 (11:38 +1100)]
Postgres upgraded from version 9.2 -> 9.3
Sam [Thu, 13 Mar 2014 23:42:23 +0000 (10:42 +1100)]
base image upgrade pg 9.3 / ruby 451
Sam [Thu, 13 Mar 2014 11:16:07 +0000 (22:16 +1100)]
docker 0.9.0 fixes - ssh bust
Sam [Thu, 13 Mar 2014 04:53:25 +0000 (15:53 +1100)]
fix deprecation
Sam [Thu, 13 Mar 2014 04:37:56 +0000 (15:37 +1100)]
fix deprecation
Sam [Wed, 12 Mar 2014 12:46:25 +0000 (23:46 +1100)]
fix deprecations
Sam [Mon, 24 Feb 2014 21:18:43 +0000 (08:18 +1100)]
Update README.md
Sam [Tue, 18 Feb 2014 04:40:59 +0000 (15:40 +1100)]
always update bundler during bootstrap
cache gems
Régis Hanol [Mon, 17 Feb 2014 18:13:31 +0000 (19:13 +0100)]
make sure public schema is owned by discourse
we need to be owner of the public schema when restoring a backup
Régis Hanol [Mon, 17 Feb 2014 14:58:18 +0000 (15:58 +0100)]
BUGFIX: tmp might not exist
Régis Hanol [Mon, 17 Feb 2014 14:35:03 +0000 (15:35 +0100)]
symlink public/backups directory
Régis Hanol [Tue, 11 Feb 2014 17:29:56 +0000 (09:29 -0800)]
Merge pull request #11 from Supermathie/launcher_fixes
Properly quote root's key in the sshd hook
Michael Brown [Tue, 11 Feb 2014 17:12:59 +0000 (12:12 -0500)]
Properly quote root's key in the sshd hook
Sam [Mon, 3 Feb 2014 06:02:40 +0000 (17:02 +1100)]
FEATURE: hostname for instances so we can tell who is who
Robin Ward [Wed, 22 Jan 2014 22:07:18 +0000 (17:07 -0500)]
A couple of small updates following feedback. We make it even more
clear you have to install it into `/var/docker` and that the SSH
key should be the key itself as a string, not a filename.
Sam [Tue, 21 Jan 2014 22:31:58 +0000 (09:31 +1100)]
data begone
Sam [Tue, 21 Jan 2014 06:26:32 +0000 (22:26 -0800)]
Merge pull request #6 from Supermathie/master
Enhance docker instructions
Michael Brown [Tue, 21 Jan 2014 06:20:17 +0000 (01:20 -0500)]
Add ssh-keygen instructions for running as user
Michael Brown [Tue, 21 Jan 2014 06:07:22 +0000 (01:07 -0500)]
Fix up documentation and enhance suggestions
Michael Brown [Tue, 21 Jan 2014 06:06:26 +0000 (01:06 -0500)]
Make the user experience nicer
* Pull down the docker image before trying to use it
This avoids long periods of "is the system doing anything?"
* Don't bother asking the user to confirm the container's ssh key
Jeff Atwood [Mon, 20 Jan 2014 22:51:03 +0000 (14:51 -0800)]
urgency
Jeff Atwood [Mon, 20 Jan 2014 22:31:53 +0000 (14:31 -0800)]
even more RoboCop
Régis Hanol [Mon, 20 Jan 2014 22:10:28 +0000 (23:10 +0100)]
Add a warning about 32/64 bits kernel version
Docker only works on x64 systems
Jeff Atwood [Fri, 17 Jan 2014 08:37:33 +0000 (00:37 -0800)]
we needed more RoboCop
Jeff Atwood [Fri, 17 Jan 2014 08:30:49 +0000 (00:30 -0800)]
more editoring
Jeff Atwood [Fri, 17 Jan 2014 08:20:18 +0000 (00:20 -0800)]
clean up obsolete advice about upgrade error
Jeff Atwood [Fri, 17 Jan 2014 08:11:03 +0000 (00:11 -0800)]
editor burp
Jeff Atwood [Fri, 17 Jan 2014 08:10:00 +0000 (00:10 -0800)]
multiple container warning seems premature
Jeff Atwood [Fri, 17 Jan 2014 08:09:29 +0000 (00:09 -0800)]
bit more cleanup
Jeff Atwood [Fri, 17 Jan 2014 08:03:28 +0000 (00:03 -0800)]
simplify intro
Sam Saffron [Thu, 16 Jan 2014 04:34:54 +0000 (20:34 -0800)]
Use array to pass in env, preserving spaces
Sam Saffron [Thu, 16 Jan 2014 03:02:02 +0000 (19:02 -0800)]
remove space for now
Sam Saffron [Thu, 16 Jan 2014 00:48:20 +0000 (16:48 -0800)]
eval is evil, unconditionally evil, can not allow it, searching for another solution
Sam Saffron [Thu, 16 Jan 2014 00:43:14 +0000 (16:43 -0800)]
eval my way out of env var nightmare
Sam Saffron [Wed, 15 Jan 2014 22:49:39 +0000 (14:49 -0800)]
BUGFIX: add quoting for env vars
Sam [Fri, 10 Jan 2014 03:03:55 +0000 (14:03 +1100)]
Update README.md
Sam [Fri, 10 Jan 2014 03:03:39 +0000 (14:03 +1100)]
Update README.md
Sam [Fri, 10 Jan 2014 02:59:31 +0000 (13:59 +1100)]
Update redis.yml
Sam [Fri, 10 Jan 2014 02:59:09 +0000 (13:59 +1100)]
Update standalone.yml
Sam [Fri, 10 Jan 2014 02:58:53 +0000 (13:58 +1100)]
Update data.yml
Sam Saffron [Tue, 7 Jan 2014 05:28:02 +0000 (21:28 -0800)]
add socat
Sam Saffron [Tue, 7 Jan 2014 05:26:29 +0000 (21:26 -0800)]
add test that ensures bootstrap can not run when postgres is running
Michael Brown [Tue, 7 Jan 2014 04:40:43 +0000 (23:40 -0500)]
Enable universe & use tty as default debconf FE
* enable universe repo for current distribution
* set debconf/frontend to 'Teletype'