discourse_docker.git
10 years agoRevert "Add how to configure ssh access into the container"
Sam [Tue, 13 May 2014 21:47:16 +0000 (07:47 +1000)]
Revert "Add how to configure ssh access into the container"

This reverts commit 5c7d0d2768a1af29ad5372f1e364c9d23a455172.

10 years agoMerge pull request #25 from alexdong/patch-2
Sam [Tue, 13 May 2014 21:46:45 +0000 (07:46 +1000)]
Merge pull request #25 from alexdong/patch-2

Add how to configure ssh access into the container

10 years agoclarify language about SSH key generation
Jeff Atwood [Thu, 8 May 2014 07:25:29 +0000 (00:25 -0700)]
clarify language about SSH key generation

10 years agodefault is wrong here, we really need an ssh key, its critical
Sam [Thu, 8 May 2014 07:06:11 +0000 (17:06 +1000)]
default is wrong here, we really need an ssh key, its critical

10 years agoUpdate launcher
Sam [Thu, 8 May 2014 01:33:45 +0000 (11:33 +1000)]
Update launcher

0.11 is out

10 years agoMerge pull request #40 from Stealthii/version-code
Sam [Thu, 8 May 2014 01:33:05 +0000 (11:33 +1000)]
Merge pull request #40 from Stealthii/version-code

Better logic to determine required Docker version

10 years agoRuby 2.1 version
Sam [Sat, 3 May 2014 06:36:30 +0000 (16:36 +1000)]
Ruby 2.1 version

10 years agoBetter logic to determine required Docker version
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.

10 years agoMerge pull request #37 from Supermathie/mailtest-1204
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

10 years agoCheck 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

10 years agoMerge pull request #35 from albertogg/fix-gemrc
Sam [Thu, 24 Apr 2014 02:49:51 +0000 (12:49 +1000)]
Merge pull request #35 from albertogg/fix-gemrc

Fix gem configuration path

10 years agoFix 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.

10 years agomissed a few templates
Sam [Wed, 23 Apr 2014 23:55:32 +0000 (09:55 +1000)]
missed a few templates

10 years agoUse new forking trick as opposed to seperate sidekiq process
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)

10 years agoBUGFIX: remove blank strings from ENV passing
Sam [Wed, 23 Apr 2014 06:49:24 +0000 (16:49 +1000)]
BUGFIX: remove blank strings from ENV passing

10 years agoMerge pull request #34 from Supermathie/mkswap
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

10 years agomk_swapfile: add option to specify size in GB
Michael Brown [Tue, 22 Apr 2014 17:50:52 +0000 (13:50 -0400)]
mk_swapfile: add option to specify size in GB

10 years agoModify swapfile size from 512MiB to 1GiB
Michael Brown [Tue, 22 Apr 2014 17:06:36 +0000 (13:06 -0400)]
Modify swapfile size from 512MiB to 1GiB

10 years agoAdd script to easily make a swapfile
Michael Brown [Tue, 22 Apr 2014 13:54:18 +0000 (09:54 -0400)]
Add script to easily make a swapfile

10 years agoMerge pull request #33 from Supermathie/emailtest
Régis Hanol [Tue, 22 Apr 2014 09:22:56 +0000 (11:22 +0200)]
Merge pull request #33 from Supermathie/emailtest

mailtest enhancements

10 years agoAdd suggestions to mailtest script
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

10 years agoSearch for docker.io command (Ubuntu) as well
Michael Brown [Tue, 22 Apr 2014 01:11:24 +0000 (21:11 -0400)]
Search for docker.io command (Ubuntu) as well

10 years agoMerge pull request #32 from Supermathie/emailtest
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

10 years agoAdd 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

10 years agoCDN requires leading //
Jeff Atwood [Fri, 18 Apr 2014 20:22:28 +0000 (13:22 -0700)]
CDN requires leading //

10 years agoadd CDN to standalone template
Jeff Atwood [Fri, 18 Apr 2014 07:31:01 +0000 (00:31 -0700)]
add CDN to standalone template

10 years agoimprove standalone.yml documentation
Jeff Atwood [Fri, 18 Apr 2014 05:35:11 +0000 (22:35 -0700)]
improve standalone.yml documentation

10 years agoMerge pull request #30 from Supermathie/fix-hang
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

10 years agoWork 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

10 years agoWe can have more than 2 arguments now
Robin Ward [Thu, 10 Apr 2014 21:08:08 +0000 (17:08 -0400)]
We can have more than 2 arguments now

10 years agoAdds new command line option to skip pre-requisites. This was causing
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.

10 years agoBUGFIX: No more heartbleed
Sam [Wed, 9 Apr 2014 01:38:50 +0000 (11:38 +1000)]
BUGFIX: No more heartbleed

updated base image

10 years agoUPGRADE: docker 0.10 is now out
Sam [Wed, 9 Apr 2014 01:02:06 +0000 (11:02 +1000)]
UPGRADE: docker 0.10 is now out

10 years agoMerge pull request #28 from Supermathie/update-020
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

10 years agoUpdate 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!

10 years agoUpdate standalone.yml
Sam [Mon, 7 Apr 2014 21:55:03 +0000 (07:55 +1000)]
Update standalone.yml

10 years agoMerge pull request #27 from Supermathie/rsyslog
Sam [Mon, 7 Apr 2014 05:23:52 +0000 (15:23 +1000)]
Merge pull request #27 from Supermathie/rsyslog

Add rsyslog to cron.template

10 years agoAdd rsyslog to cron.template
Michael Brown [Mon, 7 Apr 2014 04:21:35 +0000 (00:21 -0400)]
Add rsyslog to cron.template

10 years agoAdded a rebuild command to simplify rebuilding containers
Sam [Wed, 2 Apr 2014 00:46:24 +0000 (11:46 +1100)]
Added a rebuild command to simplify rebuilding containers

10 years agooops
Sam [Tue, 1 Apr 2014 11:37:36 +0000 (22:37 +1100)]
oops

10 years agoUpdate README.md
Sam [Tue, 25 Mar 2014 05:22:46 +0000 (16:22 +1100)]
Update README.md

10 years agoAdded web hook
Sam [Tue, 25 Mar 2014 04:46:28 +0000 (15:46 +1100)]
Added web hook
Fixed syntax error

10 years agoFEATURE: ability to run old PG if needed
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

10 years agoAdd how to configure ssh access into the container
Alex Dong [Mon, 24 Mar 2014 22:11:12 +0000 (11:11 +1300)]
Add how to configure ssh access into the container

10 years agoMerge pull request #24 from alexdong/patch-1
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

10 years agoAdd 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.

10 years agoMerge pull request #23 from Supermathie/userfriendly
Sam [Mon, 24 Mar 2014 07:13:45 +0000 (18:13 +1100)]
Merge pull request #23 from Supermathie/userfriendly

Enhanced user experience

10 years agoEnhanced 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

10 years agoMerge pull request #22 from Supermathie/master
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

10 years agoAdd 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

10 years agoMerge pull request #21 from btobolaski/master
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

10 years agoFix 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.

10 years agoUpdate postgres.template.yml
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

10 years agoMerge pull request #18 from abackstrom/patch-1
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/

10 years agoSpelling: s/discoruse/discourse/
Annika Backstrom [Sat, 22 Mar 2014 12:13:42 +0000 (08:13 -0400)]
Spelling: s/discoruse/discourse/

10 years agotty may not be there
Sam [Fri, 21 Mar 2014 05:36:45 +0000 (16:36 +1100)]
tty may not be there

10 years agomore useful motd message, added shortcut for various tools
Sam [Fri, 21 Mar 2014 05:06:12 +0000 (16:06 +1100)]
more useful motd message, added shortcut for various tools

10 years agoimplement restart
Sam [Fri, 21 Mar 2014 04:03:04 +0000 (15:03 +1100)]
implement restart

10 years agossh key is now automatic no need to configure it
Sam [Fri, 21 Mar 2014 03:55:48 +0000 (14:55 +1100)]
ssh key is now automatic no need to configure it

10 years agoAdd pre-flight tests
Sam [Fri, 21 Mar 2014 02:17:33 +0000 (13:17 +1100)]
Add pre-flight tests

10 years agoUpdate README.md
Sam [Tue, 18 Mar 2014 23:54:42 +0000 (10:54 +1100)]
Update README.md

10 years agoremove spdy header
Sam [Tue, 18 Mar 2014 23:13:21 +0000 (10:13 +1100)]
remove spdy header

10 years agoremove SPDY due to buffer overflow
Sam [Tue, 18 Mar 2014 22:59:44 +0000 (09:59 +1100)]
remove SPDY due to buffer overflow

10 years agoAdded SSL template
Sam [Tue, 18 Mar 2014 07:15:50 +0000 (18:15 +1100)]
Added SSL template

10 years agofix holes in upgrade
Sam Saffron [Fri, 14 Mar 2014 02:19:32 +0000 (22:19 -0400)]
fix holes in upgrade

10 years agoPostgres upgraded from version 9.2 -> 9.3
Sam [Fri, 14 Mar 2014 00:38:28 +0000 (11:38 +1100)]
Postgres upgraded from version 9.2 -> 9.3

10 years agobase image upgrade pg 9.3 / ruby 451
Sam [Thu, 13 Mar 2014 23:42:23 +0000 (10:42 +1100)]
base image upgrade pg 9.3 / ruby 451

10 years agodocker 0.9.0 fixes - ssh bust
Sam [Thu, 13 Mar 2014 11:16:07 +0000 (22:16 +1100)]
docker 0.9.0 fixes - ssh bust

10 years agofix deprecation
Sam [Thu, 13 Mar 2014 04:53:25 +0000 (15:53 +1100)]
fix deprecation

10 years agofix deprecation
Sam [Thu, 13 Mar 2014 04:37:56 +0000 (15:37 +1100)]
fix deprecation

10 years agofix deprecations
Sam [Wed, 12 Mar 2014 12:46:25 +0000 (23:46 +1100)]
fix deprecations

10 years agoUpdate README.md
Sam [Mon, 24 Feb 2014 21:18:43 +0000 (08:18 +1100)]
Update README.md

10 years agoalways update bundler during bootstrap
Sam [Tue, 18 Feb 2014 04:40:59 +0000 (15:40 +1100)]
always update bundler during bootstrap
cache gems

10 years agomake sure public schema is owned by discourse
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

10 years agoBUGFIX: tmp might not exist
Régis Hanol [Mon, 17 Feb 2014 14:58:18 +0000 (15:58 +0100)]
BUGFIX: tmp might not exist

10 years agosymlink public/backups directory
Régis Hanol [Mon, 17 Feb 2014 14:35:03 +0000 (15:35 +0100)]
symlink public/backups directory

10 years agoMerge pull request #11 from Supermathie/launcher_fixes
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

10 years agoProperly 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

10 years agoFEATURE: hostname for instances so we can tell who is who
Sam [Mon, 3 Feb 2014 06:02:40 +0000 (17:02 +1100)]
FEATURE: hostname for instances so we can tell who is who

10 years agoA couple of small updates following feedback. We make it even more
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.

10 years agodata begone
Sam [Tue, 21 Jan 2014 22:31:58 +0000 (09:31 +1100)]
data begone

10 years agoMerge pull request #6 from Supermathie/master
Sam [Tue, 21 Jan 2014 06:26:32 +0000 (22:26 -0800)]
Merge pull request #6 from Supermathie/master

Enhance docker instructions

10 years agoAdd ssh-keygen instructions for running as user
Michael Brown [Tue, 21 Jan 2014 06:20:17 +0000 (01:20 -0500)]
Add ssh-keygen instructions for running as user

10 years agoFix up documentation and enhance suggestions
Michael Brown [Tue, 21 Jan 2014 06:07:22 +0000 (01:07 -0500)]
Fix up documentation and enhance suggestions

10 years agoMake the user experience nicer
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

10 years agourgency
Jeff Atwood [Mon, 20 Jan 2014 22:51:03 +0000 (14:51 -0800)]
urgency

10 years agoeven more RoboCop
Jeff Atwood [Mon, 20 Jan 2014 22:31:53 +0000 (14:31 -0800)]
even more RoboCop

10 years agoAdd a warning about 32/64 bits kernel version
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

10 years agowe needed more RoboCop
Jeff Atwood [Fri, 17 Jan 2014 08:37:33 +0000 (00:37 -0800)]
we needed more RoboCop

10 years agomore editoring
Jeff Atwood [Fri, 17 Jan 2014 08:30:49 +0000 (00:30 -0800)]
more editoring

10 years agoclean up obsolete advice about upgrade error
Jeff Atwood [Fri, 17 Jan 2014 08:20:18 +0000 (00:20 -0800)]
clean up obsolete advice about upgrade error

10 years agoeditor burp
Jeff Atwood [Fri, 17 Jan 2014 08:11:03 +0000 (00:11 -0800)]
editor burp

10 years agomultiple container warning seems premature
Jeff Atwood [Fri, 17 Jan 2014 08:10:00 +0000 (00:10 -0800)]
multiple container warning seems premature

10 years agobit more cleanup
Jeff Atwood [Fri, 17 Jan 2014 08:09:29 +0000 (00:09 -0800)]
bit more cleanup

10 years agosimplify intro
Jeff Atwood [Fri, 17 Jan 2014 08:03:28 +0000 (00:03 -0800)]
simplify intro

10 years agoUse array to pass in env, preserving spaces
Sam Saffron [Thu, 16 Jan 2014 04:34:54 +0000 (20:34 -0800)]
Use array to pass in env, preserving spaces

10 years agoremove space for now
Sam Saffron [Thu, 16 Jan 2014 03:02:02 +0000 (19:02 -0800)]
remove space for now

10 years agoeval is evil, unconditionally evil, can not allow it, searching for another solution
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

10 years agoeval my way out of env var nightmare
Sam Saffron [Thu, 16 Jan 2014 00:43:14 +0000 (16:43 -0800)]
eval my way out of env var nightmare

10 years agoBUGFIX: add quoting for env vars
Sam Saffron [Wed, 15 Jan 2014 22:49:39 +0000 (14:49 -0800)]
BUGFIX: add quoting for env vars