discourse_docker.git
9 years agoMerge pull request #88 from fysics/master
Sam [Fri, 29 Aug 2014 02:17:50 +0000 (12:17 +1000)]
Merge pull request #88 from fysics/master

Corrected error in samples.

9 years agoCorrected error in readme.
Zane Beckman [Thu, 28 Aug 2014 03:02:47 +0000 (21:02 -0600)]
Corrected error in readme.

Example now matches actual behavior for DISCOURSE_DEVELOPER_EMAILS

9 years agoFIX: logrotation for containers that constantly rebuild
Sam [Thu, 28 Aug 2014 00:51:22 +0000 (10:51 +1000)]
FIX: logrotation for containers that constantly rebuild

9 years agoversion 1.2.0 is the minimum
Sam [Wed, 27 Aug 2014 21:09:51 +0000 (07:09 +1000)]
version 1.2.0 is the minimum

9 years agoMerge pull request #87 from Supermathie/v1run
Sam [Tue, 26 Aug 2014 06:00:27 +0000 (16:00 +1000)]
Merge pull request #87 from Supermathie/v1run

bash is easy when you know bash

9 years agobash is easy when you know bash
Michael Brown [Tue, 26 Aug 2014 05:53:34 +0000 (01:53 -0400)]
bash is easy when you know bash

also, lining up columns is super important

9 years agoMerge pull request #81 from gschlager/benchmark
Sam [Tue, 26 Aug 2014 02:46:20 +0000 (12:46 +1000)]
Merge pull request #81 from gschlager/benchmark

Add Dockerfile for running benchmark inside Docker

9 years agoUpdate standalone.yml
Sam [Tue, 26 Aug 2014 02:45:29 +0000 (12:45 +1000)]
Update standalone.yml

9 years agobash is hard
Sam [Mon, 25 Aug 2014 22:46:40 +0000 (08:46 +1000)]
bash is hard

9 years agospaces matter.
Sam [Mon, 25 Aug 2014 22:25:08 +0000 (08:25 +1000)]
spaces matter.

9 years agoBUGFIX: touch is resetting dates use touch -a
Sam [Mon, 25 Aug 2014 08:38:16 +0000 (18:38 +1000)]
BUGFIX: touch is resetting dates use touch -a

9 years agobump to fix anacron
Sam [Mon, 25 Aug 2014 08:29:07 +0000 (18:29 +1000)]
bump to fix anacron

9 years agoAdd anacron to boot process
Sam [Mon, 25 Aug 2014 08:20:45 +0000 (18:20 +1000)]
Add anacron to boot process

9 years agoremove anacron service, cron runs it
Sam [Mon, 25 Aug 2014 08:14:06 +0000 (18:14 +1000)]
remove anacron service, cron runs it

9 years agoCrash if SMTP is not configured
Sam [Mon, 25 Aug 2014 06:55:38 +0000 (16:55 +1000)]
Crash if SMTP is not configured

9 years agoCorrect rate limiting stuff
Sam [Mon, 25 Aug 2014 06:42:10 +0000 (16:42 +1000)]
Correct rate limiting stuff

9 years agoFEATURE: restart policy to ensure container comes back after reboot
Sam [Mon, 25 Aug 2014 05:11:42 +0000 (15:11 +1000)]
FEATURE: restart policy to ensure container comes back after reboot

9 years agobump version
Sam [Mon, 25 Aug 2014 04:37:04 +0000 (14:37 +1000)]
bump version

9 years agostop contorting with buggy awk code
Sam [Mon, 25 Aug 2014 04:36:40 +0000 (14:36 +1000)]
stop contorting with buggy awk code

9 years agoFIX: add anacron to ensure jobs run if restarting containers a lot
Sam [Mon, 25 Aug 2014 02:26:04 +0000 (12:26 +1000)]
FIX: add anacron to ensure jobs run if restarting containers a lot

9 years agoFIX: use chpst to avoid extra process that interferes with signals
Sam [Mon, 25 Aug 2014 02:22:19 +0000 (12:22 +1000)]
FIX: use chpst to avoid extra process that interferes with signals

9 years agoRemove temporary code, add rate limited initial template
Sam [Fri, 22 Aug 2014 07:28:07 +0000 (17:28 +1000)]
Remove temporary code, add rate limited initial template

9 years agonew image
Sam [Fri, 22 Aug 2014 02:41:50 +0000 (12:41 +1000)]
new image

9 years agoupdate to 1.0.1
Sam [Fri, 22 Aug 2014 01:41:56 +0000 (11:41 +1000)]
update to 1.0.1

9 years agoMerge pull request #83 from Supermathie/v1run
Sam [Thu, 21 Aug 2014 23:40:01 +0000 (09:40 +1000)]
Merge pull request #83 from Supermathie/v1run

Big cleanup of discourse docker environment

9 years agoBig cleanup of discourse docker environment
Michael Brown [Wed, 20 Aug 2014 08:40:49 +0000 (04:40 -0400)]
Big cleanup of discourse docker environment

* try to avoid sudo
* streamline image build
* remove constant 'duplicate source' warnings
* update samples to be consistent with each other
* add TODO lines to alert the user to important items to configure

9 years agofix
Sam [Wed, 20 Aug 2014 07:16:14 +0000 (17:16 +1000)]
fix

9 years ago- Update base image
Sam [Wed, 20 Aug 2014 03:17:08 +0000 (13:17 +1000)]
- Update base image
- Update discourse image
- Include cron and rsyslogd in base image
- Mount /var/log on host so we have access to nginx logs
- Introduce log rotation
- Correct symlink creation so it works with admin/upgrade
- All sample paths are /var/discourse

9 years agoBring readme up to date
Jeff Atwood [Mon, 18 Aug 2014 08:00:30 +0000 (01:00 -0700)]
Bring readme up to date

9 years agoUpdate postgres.template.yml
Sam [Thu, 7 Aug 2014 08:14:51 +0000 (18:14 +1000)]
Update postgres.template.yml

9 years agoFEATURE: allow tweaking more pg setup options
Sam [Thu, 7 Aug 2014 03:11:37 +0000 (13:11 +1000)]
FEATURE: allow tweaking more pg setup options

9 years agoAdd Dockerfile for running benchmark inside Docker
Gerhard Schlager [Wed, 6 Aug 2014 09:06:32 +0000 (11:06 +0200)]
Add Dockerfile for running benchmark inside Docker

Uses discourse_test as a base and installs all needed software for the
benchmark. At container startup it pulls the latest source and runs the
benchmark.

9 years agoMerge pull request #74 from jgehrcke/patch-1
Sam [Mon, 4 Aug 2014 06:59:13 +0000 (16:59 +1000)]
Merge pull request #74 from jgehrcke/patch-1

scripts/mailtest: fix socket family check.

9 years agoMerge pull request #80 from Supermathie/v1run
Sam [Mon, 4 Aug 2014 06:58:47 +0000 (16:58 +1000)]
Merge pull request #80 from Supermathie/v1run

Add a few troubleshooting suggestions to readme

9 years agoAdd more suggestions for troubleshooting.
Michael Brown [Sun, 3 Aug 2014 04:32:19 +0000 (00:32 -0400)]
Add more suggestions for troubleshooting.

9 years agoAdd suggestion from #38 for setting proxy information in the container
Michael Brown [Sun, 3 Aug 2014 04:11:44 +0000 (00:11 -0400)]
Add suggestion from #38 for setting proxy information in the container

9 years agoUpdate standalone.yml
Sam [Fri, 1 Aug 2014 22:56:33 +0000 (08:56 +1000)]
Update standalone.yml

9 years agoMerge pull request #78 from Supermathie/v1run
Sam [Fri, 1 Aug 2014 00:12:40 +0000 (10:12 +1000)]
Merge pull request #78 from Supermathie/v1run

Avoid the Neil error

9 years agoAvoid the Neil error
Michael Brown [Thu, 31 Jul 2014 21:41:25 +0000 (17:41 -0400)]
Avoid the Neil error

9 years agoMerge pull request #77 from Supermathie/v1run
Sam [Thu, 31 Jul 2014 05:32:07 +0000 (15:32 +1000)]
Merge pull request #77 from Supermathie/v1run

move copy_env to runit stage 1 and make launcher only self-update on master branch

9 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

9 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

9 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

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

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

9 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

9 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

9 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

9 years agoscripts/mailtest: fix socket family check.
Jan-Philip Gehrcke [Tue, 22 Jul 2014 14:14:41 +0000 (16:14 +0200)]
scripts/mailtest: fix socket family check.

There is no AddressFamily attribute:

Traceback (most recent call last):
  File "/var/docker/scripts/mailtest", line 140, in <module>
    do_tls(smtp,smtp_sslv)
  File "/var/docker/scripts/mailtest", line 44, in do_tls
    if conn.sock.family == socket.AddressFamily.AF_INET:
AttributeError: 'module' object has no attribute 'AddressFamily'

However, there is `socket.AF_INET` etc.

9 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

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

9 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

9 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

9 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

9 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

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

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

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

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

9 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

9 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

9 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

9 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

9 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

9 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

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

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

9 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

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

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

9 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

9 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

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

9 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

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

10 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

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

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

10 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

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

10 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

10 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

10 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

10 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

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

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

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

10 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

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 SSL verification warning
Michael Brown [Sat, 10 May 2014 05:41:57 +0000 (01:41 -0400)]
Clarify SSL verification warning

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