discourse_docker.git
9 years agoMerge pull request #127 from kewubenduben/patch-1
Sam [Mon, 16 Feb 2015 21:29:00 +0000 (08:29 +1100)]
Merge pull request #127 from kewubenduben/patch-1

Update launcher

9 years agoUpdate launcher
Ker Ruben Ramos [Mon, 16 Feb 2015 20:57:32 +0000 (04:57 +0800)]
Update launcher

just a typo

9 years agoAdded container for monitoring memory and cpu on all docker containers
Sam [Fri, 13 Feb 2015 06:53:38 +0000 (17:53 +1100)]
Added container for monitoring memory and cpu on all docker containers

9 years agoMerge pull request #125 from riking/patch-1
Sam [Mon, 9 Feb 2015 21:15:12 +0000 (08:15 +1100)]
Merge pull request #125 from riking/patch-1

Add Discourse locale to samples/standalone.yml

9 years agoAdd Discourse locale to samples/standalone.yml
riking [Mon, 9 Feb 2015 19:19:37 +0000 (11:19 -0800)]
Add Discourse locale to samples/standalone.yml

9 years agoMerge pull request #122 from Supermathie/master
Sam [Wed, 28 Jan 2015 05:25:46 +0000 (16:25 +1100)]
Merge pull request #122 from Supermathie/master

anacron: invoke directly instead of triggering the upstart job (which wo...

9 years agoanacron: invoke directly instead of triggering the upstart job (which won't fire)
Michael Brown [Wed, 28 Jan 2015 03:52:32 +0000 (22:52 -0500)]
anacron: invoke directly instead of triggering the upstart job (which won't fire)

9 years agoMerge pull request #105 from SAMdroid-apps/docker-options
Sam [Tue, 6 Jan 2015 23:31:04 +0000 (10:31 +1100)]
Merge pull request #105 from SAMdroid-apps/docker-options

Add --docker-args option to the launcher script

9 years agoAdd --docker-args option to the launcher script
Sam P [Sun, 9 Nov 2014 09:29:37 +0000 (04:29 -0500)]
Add --docker-args option to the launcher script

9 years agobump version
Sam [Mon, 15 Dec 2014 02:22:29 +0000 (13:22 +1100)]
bump version

9 years agoversion bump
Sam [Mon, 15 Dec 2014 02:21:39 +0000 (13:21 +1100)]
version bump

9 years agoFEATURE: Add nodejs and uglifyjs to the image
Sam [Sun, 14 Dec 2014 23:27:34 +0000 (10:27 +1100)]
FEATURE: Add nodejs and uglifyjs to the image
FEATURE: compile ruby with gcc  4.9

9 years agoremove rc4
Sam [Thu, 11 Dec 2014 01:13:27 +0000 (12:13 +1100)]
remove rc4

9 years agoMerge pull request #116 from qingxp9/master
Jeff Atwood [Fri, 12 Dec 2014 19:08:52 +0000 (11:08 -0800)]
Merge pull request #116 from qingxp9/master

fix /var/docker to /var/discourse

9 years agofix /var/docker to /var/discourse in describe
qingxp9 [Thu, 11 Dec 2014 11:18:44 +0000 (19:18 +0800)]
fix /var/docker to /var/discourse in describe

9 years agoMerge pull request #115 from axilleas/standalone_yml_typo
Sam [Thu, 11 Dec 2014 01:06:20 +0000 (12:06 +1100)]
Merge pull request #115 from axilleas/standalone_yml_typo

Fix typo in standalone.yml

9 years agoFix typo in standalone.yml.
Achilleas Pipinellis [Wed, 10 Dec 2014 22:49:54 +0000 (00:49 +0200)]
Fix typo in standalone.yml.

9 years agoMerge pull request #114 from Stealthii/hsts-nosub
Sam [Mon, 8 Dec 2014 23:14:38 +0000 (10:14 +1100)]
Merge pull request #114 from Stealthii/hsts-nosub

Only use strict transport security for the discourse domain

9 years agoOnly use strict transport security for the discourse domain
Daniel Porter [Mon, 8 Dec 2014 14:09:42 +0000 (14:09 +0000)]
Only use strict transport security for the discourse domain

9 years agoMerge pull request #108 from fantasticfears/china
Sam [Wed, 3 Dec 2014 10:24:16 +0000 (21:24 +1100)]
Merge pull request #108 from fantasticfears/china

Fix missing indentation for china template

10 years agoMerge pull request #110 from dereckson/fix/tar
Sam [Thu, 20 Nov 2014 00:12:21 +0000 (11:12 +1100)]
Merge pull request #110 from dereckson/fix/tar

A few tar commands are verbose, other aren't.

10 years agoMerge pull request #111 from dereckson/fix/mac
Sam [Tue, 18 Nov 2014 22:25:39 +0000 (09:25 +1100)]
Merge pull request #111 from dereckson/fix/mac

Removed instruction relevant only for Mac OS X

10 years agoRemoved instruction relevant only for Mac OS X
Dereckson [Tue, 18 Nov 2014 16:06:37 +0000 (16:06 +0000)]
Removed instruction relevant only for Mac OS X

10 years agoDiscard verbose output for tar commands
Dereckson [Tue, 18 Nov 2014 14:58:34 +0000 (14:58 +0000)]
Discard verbose output for tar commands

10 years agoFix missing indentation for china template.
Erick Guan [Mon, 17 Nov 2014 16:19:27 +0000 (00:19 +0800)]
Fix missing indentation for china template.

Now the next problem is cdn used by gravatar was blocked by GFW. (FXXKING this gov)

10 years agoMerge pull request #104 from riking/ratelimit-429
Sam [Sun, 9 Nov 2014 22:22:31 +0000 (09:22 +1100)]
Merge pull request #104 from riking/ratelimit-429

Use 429 error code for nginx ratelimiting

10 years agoMerge pull request #106 from fantasticfears/china
Sam [Sun, 9 Nov 2014 21:35:51 +0000 (08:35 +1100)]
Merge pull request #106 from fantasticfears/china

add hook and a template to use chinese gem mirror site

10 years agoadd hook and a template to use chinese gem mirror site
Erick Guan [Sun, 9 Nov 2014 17:45:05 +0000 (01:45 +0800)]
add hook and a template to use chinese gem mirror site

10 years agoUse 429 error code for nginx ratelimiting
riking [Fri, 7 Nov 2014 17:26:20 +0000 (09:26 -0800)]
Use 429 error code for nginx ratelimiting

10 years agoupdate base image
Sam [Thu, 30 Oct 2014 02:03:59 +0000 (13:03 +1100)]
update base image

- change to NGINX mainline
- update phantomjs to 1.9.8
- update ruby 2.0 to p594

10 years agodouble the rate limit
Sam [Tue, 21 Oct 2014 04:27:58 +0000 (15:27 +1100)]
double the rate limit

10 years agofix regression which chmodded the file
Sam [Mon, 20 Oct 2014 20:21:49 +0000 (07:21 +1100)]
fix regression which chmodded the file

10 years agoMerge pull request #100 from wmark/fix-launcher
Sam [Sun, 19 Oct 2014 23:45:29 +0000 (10:45 +1100)]
Merge pull request #100 from wmark/fix-launcher

launcher: Add more key types, and support CoreOS.

10 years agolauncher: Check for ECDSA, ED25519 keys for SSH as well as CoreOS' location.
W-Mark Kubacki [Wed, 15 Oct 2014 11:52:30 +0000 (13:52 +0200)]
launcher: Check for ECDSA, ED25519 keys for SSH as well as CoreOS' location.

10 years agolauncher: Loop over possible SSH authorized key file locations.
W-Mark Kubacki [Wed, 15 Oct 2014 11:49:09 +0000 (13:49 +0200)]
launcher: Loop over possible SSH authorized key file locations.

That way we can easily add support for more key types or OS distributions.

10 years agolauncher: Remove hard-coded paths to ip and ifconfig.
W-Mark Kubacki [Wed, 15 Oct 2014 11:21:34 +0000 (13:21 +0200)]
launcher: Remove hard-coded paths to ip and ifconfig.

Either we are root and the tools are in our PATH, or they don't exist.

10 years agoadd rate limiting by default to samples
Sam [Tue, 14 Oct 2014 23:29:19 +0000 (10:29 +1100)]
add rate limiting by default to samples

10 years agoFIX: properly shut down services on "docker stop"
Sam [Thu, 9 Oct 2014 08:10:31 +0000 (19:10 +1100)]
FIX: properly shut down services on "docker stop"

This protects against corrupt dbs and speeds up boot / bootstrap

10 years agoFIX: stop using su to daemonize stuff, we have no process to talk to
Sam [Thu, 9 Oct 2014 02:13:47 +0000 (13:13 +1100)]
FIX: stop using su to daemonize stuff, we have no process to talk to
FIX: use fast shutdown for postgres

10 years agoMerge pull request #98 from axilleas/new_location_fix
Sam [Wed, 8 Oct 2014 22:27:26 +0000 (09:27 +1100)]
Merge pull request #98 from axilleas/new_location_fix

README fixes

10 years agoFix forgotten path to old location, remove extra bracket, change docker docs url.
Achilleas Pipinellis [Wed, 8 Oct 2014 12:51:58 +0000 (15:51 +0300)]
Fix forgotten path to old location, remove extra bracket, change docker docs url.

10 years agoMerge pull request #97 from zdk/master
Sam [Tue, 7 Oct 2014 08:30:56 +0000 (19:30 +1100)]
Merge pull request #97 from zdk/master

Create extension only if it's missing and update readme for linking containers feature.

10 years agoFIX: Only create pg extension if it does not already exist
zdk [Tue, 7 Oct 2014 07:52:51 +0000 (14:52 +0700)]
FIX: Only create pg extension if it does not already exist

10 years agoUpdate readme to reflect linking feature.
zdk [Tue, 7 Oct 2014 06:06:26 +0000 (13:06 +0700)]
Update readme to reflect linking feature.

10 years agoMerge pull request #95 from zdk/master
Sam [Tue, 7 Oct 2014 05:16:40 +0000 (16:16 +1100)]
Merge pull request #95 from zdk/master

Support linking containers via containers yaml config

10 years agoFEATURE: Add support for laucher to read links key from yaml to link containers.
zdk [Fri, 3 Oct 2014 11:21:13 +0000 (18:21 +0700)]
FEATURE: Add support for laucher to read links key from yaml to link containers.

10 years agoFIX: Install pg extention in the template1 database to avoid giving user superuser...
zdk [Fri, 3 Oct 2014 11:17:10 +0000 (18:17 +0700)]
FIX: Install pg extention in the template1 database to avoid giving user superuser permissions, so db:migrate won't be failed.

10 years agoRemove a duplicated listen_addresses="*" postgres configuration.
zdk [Fri, 3 Oct 2014 11:14:13 +0000 (18:14 +0700)]
Remove a duplicated listen_addresses="*" postgres configuration.

10 years agoFEATURE: Add a sample 'links' key in a yaml configuration file to illustrate linking...
zdk [Fri, 3 Oct 2014 11:08:39 +0000 (18:08 +0700)]
FEATURE: Add a sample 'links' key in a yaml configuration file to illustrate linking containers support.

10 years agoFIX: rails c no longer working
Sam [Tue, 30 Sep 2014 01:47:02 +0000 (11:47 +1000)]
FIX: rails c no longer working

10 years agoSECURITY: upgrade CVE-2014-6271 bash vulnerability
Sam [Fri, 26 Sep 2014 05:45:22 +0000 (15:45 +1000)]
SECURITY: upgrade CVE-2014-6271 bash vulnerability

10 years agoallow btrfs
Sam [Wed, 24 Sep 2014 07:21:39 +0000 (17:21 +1000)]
allow btrfs

10 years agoMerge pull request #94 from tolbrino/tb/systemd-support
Sam [Tue, 16 Sep 2014 14:06:16 +0000 (00:06 +1000)]
Merge pull request #94 from tolbrino/tb/systemd-support

allow starting the app without detaching

10 years agoallow starting the app without detaching
Tino Breddin [Tue, 16 Sep 2014 13:39:51 +0000 (15:39 +0200)]
allow starting the app without detaching

this enables other monitoring tools (e.g. systemd) to supervise a
container, see https://docs.docker.com/articles/host_integration/

10 years agoMerge pull request #93 from longhotsummer/patch-1
Sam [Tue, 16 Sep 2014 12:31:23 +0000 (22:31 +1000)]
Merge pull request #93 from longhotsummer/patch-1

Tweak standalone docs for ratelimiting

10 years agoTweak standalone docs for ratelimiting
Greg Kempe [Tue, 16 Sep 2014 08:08:27 +0000 (10:08 +0200)]
Tweak standalone docs for ratelimiting

10 years agoMerge pull request #92 from lukegb/master
Sam [Mon, 15 Sep 2014 21:19:09 +0000 (07:19 +1000)]
Merge pull request #92 from lukegb/master

Adds a docker_ip pipeline for /sbin/ip

10 years agoAdds a docker_ip pipeline for /sbin/ip
Luke GB [Sun, 14 Sep 2014 17:31:17 +0000 (18:31 +0100)]
Adds a docker_ip pipeline for /sbin/ip

This fixes issues with systems which don't have ifconfig configured and have fully transitioned over to solely using /sbin/ip.

10 years agoimprove copy around AuFS problem
Jeff Atwood [Fri, 12 Sep 2014 22:58:19 +0000 (15:58 -0700)]
improve copy around AuFS problem

10 years agoFIX: rotate nginx logs daily instead of weekly
Sam [Thu, 11 Sep 2014 05:48:24 +0000 (15:48 +1000)]
FIX: rotate nginx logs daily instead of weekly

our default setting kept nginx logs for a year, huge risk on droplets with restricted space

10 years agoFEATURE: host_run support, to simplify provisioning
Sam [Mon, 8 Sep 2014 02:52:04 +0000 (12:52 +1000)]
FEATURE: host_run support, to simplify provisioning

10 years agoFIX: on bootup ensure correct shared structure
Sam [Fri, 29 Aug 2014 05:06:11 +0000 (15:06 +1000)]
FIX: on bootup ensure correct shared structure

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

10 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

10 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

10 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

10 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

10 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

10 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

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

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

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

10 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

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

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

10 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

10 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

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

10 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

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

10 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

10 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

10 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

10 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

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

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

10 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

10 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

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

10 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

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

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

10 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

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

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

10 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

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

10 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

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

10 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