discourse_docker.git
11 years agolauncher: only try to self-update if we're on master branch
Michael Brown [Thu, 31 Jul 2014 05:22:55 +0000 (01:22 -0400)]
launcher: only try to self-update if we're on master branch

11 years agoHandle copy_env in runit stage 1 and simplify
Michael Brown [Thu, 31 Jul 2014 04:40:39 +0000 (00:40 -0400)]
Handle copy_env in runit stage 1 and simplify

11 years agoMerge pull request #76 from Supermathie/v1run
Sam [Thu, 31 Jul 2014 05:12:18 +0000 (15:12 +1000)]
Merge pull request #76 from Supermathie/v1run

breakout syslog into its own template, simplify copy_env

11 years agoMove syslog into its own template, not cron
Michael Brown [Thu, 31 Jul 2014 05:03:57 +0000 (01:03 -0400)]
Move syslog into its own template, not cron

* create syslog.template.yml
* disable klog syslog source (thanks phusion/baseimage-docker)

11 years agoHandle copy_env nicely, simplify
Michael Brown [Thu, 31 Jul 2014 04:40:39 +0000 (00:40 -0400)]
Handle copy_env nicely, simplify

11 years agoMerge pull request #75 from Supermathie/master
Sam [Fri, 25 Jul 2014 06:52:41 +0000 (16:52 +1000)]
Merge pull request #75 from Supermathie/master

add a few preflight checks

11 years agoEnsure /shared/log/rails is owned by discourse user
Michael Brown [Thu, 24 Jul 2014 18:03:27 +0000 (14:03 -0400)]
Ensure /shared/log/rails is owned by discourse user

11 years agonginx startup: mkdir -p /var/log/nginx
Michael Brown [Thu, 24 Jul 2014 17:55:29 +0000 (13:55 -0400)]
nginx startup: mkdir -p /var/log/nginx

nginx will error out if it tries to start up and /var/log/nginx isn't there

11 years agoimprove multiple email example in standalone.yml
Jeff Atwood [Tue, 22 Jul 2014 05:55:54 +0000 (22:55 -0700)]
improve multiple email example in standalone.yml

11 years agofix default
Sam [Mon, 21 Jul 2014 05:30:11 +0000 (15:30 +1000)]
fix default

11 years agoMerge pull request #70 from riking/patch-2
Robin Ward [Thu, 17 Jul 2014 18:38:25 +0000 (14:38 -0400)]
Merge pull request #70 from riking/patch-2

Supporting Discourse projects are MIT license

11 years agoSupporting Discourse projects are MIT license
Kane York [Thu, 17 Jul 2014 18:34:15 +0000 (11:34 -0700)]
Supporting Discourse projects are MIT license

11 years agoMerge pull request #65 from eflynn/patch-1
Régis Hanol [Thu, 17 Jul 2014 18:21:38 +0000 (20:21 +0200)]
Merge pull request #65 from eflynn/patch-1

Fix typo on Ubuntu version

11 years agoFIX: have "rebuild" update discourse docker
Sam [Tue, 15 Jul 2014 00:41:18 +0000 (10:41 +1000)]
FIX: have "rebuild" update discourse docker

11 years agoAdd nginx cache directory
Sam [Tue, 15 Jul 2014 00:16:53 +0000 (10:16 +1000)]
Add nginx cache directory

11 years agoRevert "add fuzzystrmatch extension"
Régis Hanol [Mon, 14 Jul 2014 13:21:11 +0000 (15:21 +0200)]
Revert "add fuzzystrmatch extension"

This reverts commit 80863b2363bb973f712675be7bf250f8674b0948.

That extension was causing more trouble than needed...

11 years agoadd fuzzystrmatch extension
Régis Hanol [Fri, 11 Jul 2014 13:33:15 +0000 (15:33 +0200)]
add fuzzystrmatch extension

11 years agoFix typo on Ubuntu version
Evan Flynn [Wed, 9 Jul 2014 00:51:19 +0000 (20:51 -0400)]
Fix typo on Ubuntu version

11 years agoremove ubuntu 13 in favor of ubuntu 14
Jeff Atwood [Tue, 8 Jul 2014 18:25:16 +0000 (11:25 -0700)]
remove ubuntu 13 in favor of ubuntu 14

11 years agoMerge pull request #52 from cauerego/patch-1
Sam [Mon, 7 Jul 2014 04:07:58 +0000 (14:07 +1000)]
Merge pull request #52 from cauerego/patch-1

remove commented lines of code leading space

11 years agoMerge pull request #64 from riking/configurable-upload-size
Sam [Mon, 7 Jul 2014 04:06:55 +0000 (14:06 +1000)]
Merge pull request #64 from riking/configurable-upload-size

Add easy configuration for max file upload size

11 years agoAdd easy configuration for max file upload size
riking [Sat, 5 Jul 2014 20:30:12 +0000 (13:30 -0700)]
Add easy configuration for max file upload size

Example, in app.yml:

params:
  version: tests-passed
  upload_size: 10m

11 years agoMerge pull request #63 from discourse/add-pngout
Jeff Atwood [Fri, 4 Jul 2014 19:11:31 +0000 (12:11 -0700)]
Merge pull request #63 from discourse/add-pngout

FEATURE: add pngout to the base images

11 years agoFEATURE: add pngout to the base images
Régis Hanol [Fri, 4 Jul 2014 11:27:44 +0000 (13:27 +0200)]
FEATURE: add pngout to the base images

11 years agoUpdate Dockerfile
Sam [Tue, 1 Jul 2014 11:27:12 +0000 (21:27 +1000)]
Update Dockerfile

11 years agoUpdate Dockerfile
Sam [Tue, 1 Jul 2014 11:26:49 +0000 (21:26 +1000)]
Update Dockerfile

11 years agoallow to correctly track head if needed
Sam [Tue, 1 Jul 2014 11:22:21 +0000 (21:22 +1000)]
allow to correctly track head if needed

11 years agoFIX: checkout correct branch in base image.
Sam [Tue, 1 Jul 2014 05:51:07 +0000 (15:51 +1000)]
FIX: checkout correct branch in base image.

11 years agoFIX: correct branch stuff
Sam [Tue, 1 Jul 2014 00:32:52 +0000 (10:32 +1000)]
FIX: correct branch stuff

11 years agoFIX: ensure we are tracking the branch
Sam [Tue, 1 Jul 2014 00:27:56 +0000 (10:27 +1000)]
FIX: ensure we are tracking the branch

11 years agoFIX: track tests-passed, not master
Sam [Tue, 1 Jul 2014 00:22:44 +0000 (10:22 +1000)]
FIX: track tests-passed, not master

11 years agoFEATURE: ./launcher enter <CONTAINER>
Sam [Fri, 27 Jun 2014 05:57:12 +0000 (15:57 +1000)]
FEATURE: ./launcher enter <CONTAINER>

11 years agoBUGFIX: ensure a locale is set correctly
Sam [Fri, 27 Jun 2014 04:14:53 +0000 (14:14 +1000)]
BUGFIX: ensure a locale is set correctly

11 years agoadd phantom to base image
Sam [Fri, 27 Jun 2014 04:14:22 +0000 (14:14 +1000)]
add phantom to base image

11 years agoAdd phantomjs to base image, bump up to 0.2.4
Sam [Fri, 20 Jun 2014 01:36:01 +0000 (11:36 +1000)]
Add phantomjs to base image, bump up to 0.2.4

11 years agochange entrypoint for cleaner updates
Sam [Thu, 19 Jun 2014 23:34:48 +0000 (09:34 +1000)]
change entrypoint for cleaner updates

11 years agoFEATURE: test container
Sam [Thu, 19 Jun 2014 06:10:43 +0000 (16:10 +1000)]
FEATURE: test container

11 years agovendor bundle business only causes trouble. might as well re-download
Sam [Wed, 18 Jun 2014 05:39:14 +0000 (15:39 +1000)]
vendor bundle business only causes trouble. might as well re-download

11 years agoslightly improve YAML error message
Jeff Atwood [Tue, 17 Jun 2014 21:06:20 +0000 (14:06 -0700)]
slightly improve YAML error message

11 years agoWork in progress, a dev image for Sam
Sam [Fri, 13 Jun 2014 01:22:20 +0000 (11:22 +1000)]
Work in progress, a dev image for Sam

11 years agoUPGRADE: base image to 14.04
Sam [Fri, 13 Jun 2014 01:21:58 +0000 (11:21 +1000)]
UPGRADE: base image to 14.04

11 years agoFEATURE: list containers when making a typo
Sam [Fri, 13 Jun 2014 01:21:11 +0000 (11:21 +1000)]
FEATURE: list containers when making a typo

11 years agoMerge branch 'runit-init' of https://github.com/Supermathie/discourse_docker
Sam [Thu, 12 Jun 2014 05:53:28 +0000 (15:53 +1000)]
Merge branch 'runit-init' of https://github.com/Supermathie/discourse_docker

11 years agoBurn version 0.12.0 , it is totally bust.
Sam [Sun, 8 Jun 2014 06:38:39 +0000 (16:38 +1000)]
Burn version 0.12.0 , it is totally bust.

11 years agoremove commented lines of code leading space
Caue Rego [Sat, 7 Jun 2014 12:22:13 +0000 (09:22 -0300)]
remove commented lines of code leading space

I had problems with the installer because I wasn't used to YAML nor with its required indentation. IMHO, this way it would have been intuitively clear to me it needs it that way.

11 years agoMerge pull request #51 from riking/yamlerror
Jeff Atwood [Fri, 6 Jun 2014 23:46:18 +0000 (16:46 -0700)]
Merge pull request #51 from riking/yamlerror

Print a specific message on YML syntax error

11 years agoPrint message on YML syntax error
riking [Fri, 6 Jun 2014 20:33:21 +0000 (13:33 -0700)]
Print message on YML syntax error

11 years agoMerge pull request #46 from Supermathie/emailtest
Sam [Fri, 30 May 2014 02:44:30 +0000 (12:44 +1000)]
Merge pull request #46 from Supermathie/emailtest

Clarify SSL verification warning

11 years agoMerge pull request #48 from riking/patch-1
Sam [Fri, 30 May 2014 02:44:17 +0000 (12:44 +1000)]
Merge pull request #48 from riking/patch-1

Update 'rails' script to load Pry

11 years agoUpdate 'rails' script to load Pry
Kane York [Sat, 17 May 2014 19:53:12 +0000 (12:53 -0700)]
Update 'rails' script to load Pry

Requires discourse/discourse@c03866a5bced768ebdfe479c2d2931cda7289518 to function

11 years agoUse runit instead of runsvdir in container
Michael Brown [Thu, 15 May 2014 03:44:52 +0000 (23:44 -0400)]
Use runit instead of runsvdir in container

* switch to using runit as 'init' as intended
* Update image version to 0.2.2

11 years ago* re-enable SPDY
Sam [Thu, 15 May 2014 03:34:04 +0000 (13:34 +1000)]
* re-enable SPDY
* update nginx to 1.6 (remove obsolete comments)
* update ruby to 2.0 p481
* update base image to 0.2.1

11 years agoanother version out today :)
Sam [Wed, 14 May 2014 01:14:08 +0000 (11:14 +1000)]
another version out today :)

11 years agoUPDATE to Ruby 2.1.2
Sam [Tue, 13 May 2014 21:48:20 +0000 (07:48 +1000)]
UPDATE to Ruby 2.1.2

11 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.

11 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

11 years agoClarify SSL verification warning
Michael Brown [Sat, 10 May 2014 05:41:57 +0000 (01:41 -0400)]
Clarify SSL verification warning

11 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

11 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

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

0.11 is out

11 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

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

11 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.

11 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

11 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

11 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

11 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.

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

11 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)

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

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

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

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

11 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

11 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

11 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

11 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.

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

updated base image

11 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

11 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

11 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!

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

11 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

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

11 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

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

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

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

11 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

11 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

11 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