Commit graph

71 commits

Author SHA1 Message Date
Jarek Radosz
14627344f3
DEV: Update readme () 2022-04-29 11:40:27 +02:00
Rafael dos Santos Silva
e60174cfa0 discourse/discourse moved from master to main 2021-07-19 14:32:23 -03:00
Sam Saffron
4a4b0f8e47
DOCS: correct syntax error in readme 2020-11-18 19:11:39 +11:00
Simon
776a4f3a66
TASK: Improve README and YAML Codeblocks. () 2020-11-09 15:59:11 +11:00
Rafael dos Santos Silva
4ee18c8d22
Remove Vagrant references as they are no longer used 2020-05-13 14:53:55 -03:00
Ranjan Purbey
653abe2472 Update README.md ()
Fix indentation at L56
2020-01-20 15:58:20 -05:00
Neil Lalonde
16fb17cf51 Add a way to expose a port without publishing
Use the existing "expose" section of container yaml files, which has always been publishing ports.
Expose a port if a single port number is specified (`80`).
Publish if a port mapping is specified (`"80:80"`, `"127.0.0.1:20080:80"`).
2019-03-07 14:49:26 -05:00
Guo Xiang Tan
faaa8c17ca FEATURE: Support {{config}} replacement to template name in env. 2019-01-23 11:56:29 +08:00
Vikas Kedia
488fd91efd Fixed the link to https://hub.docker.com/r/discourse/base/ () 2018-02-26 21:16:12 +01:00
Guo Xiang Tan
e66e05b87a FEATURE: Add support for {{config}} variable in labels. 2017-11-10 15:18:48 +08:00
Hisashi KOMINE
69b0303b31 Fix Vagrantfile to run discourse successfully ()
* Update the vagrant box to "ubuntu/xenial64"

* Ignore .vagrant/

* Don't create /var/discourse symlink on vagrant's provisioning

* Add private network interface to vagrant vm

* Raise exeption if vagrant-disksize plugin is not installed

* Modify the instruction for vagrant

* Remove unnecessary dependencies
2017-10-18 12:18:12 +11:00
Jared Reisinger
3447089f9e Improve image building (primarily for discourse_dev)
Move "discourse" user and "/var/www" directory creation into base image
so that discourse_dev can build from base image directly instead of
requiring the overhead of the full discourse image.

Remove discourse_fast_switch dependency from discourse_dev, and remove
the ruby 2.2/2.0 logic, as Discourse already appears to require 2.3.0 or
greater.

Remove discourse_dev's independent `postgres.template.yml` and
`redis.template.yml` files, and instead derive them from the top-level
templates directory.  This ensures that the discourse_dev image is
always up-to-date with the discourse main image.

Add password-less "sudo" permissions for the "discourse" user in the
discourse_dev image.  This simplifies (fixes) the "bundle install"
command (and others) as implemented by discourse/bin/docker utilities.

Add image/Makefile so that images can be built even on machines without
Ruby installed.  Logic is replicated from `image/build.rb`, and should
result in equivalent images.  (Perhaps build.rb should be removed?)

Add automation in Makefile to ensure that all Dockerfiles are updated to
match the version number in the Makefile.  (This includes the `/VERSION`
file written into the base image.)

Add image/README.md to describe the images and process.

Update ImageMagick to 6.9.5-9 in the base Dockerfile because 6.9.5-8 is
no longer available. (Perhaps this dependency should be vendored.)

Fix base "boot" failure caused by missing log files on a new instance
(in `base/runit-1.d-00-fix-var-logs`).  Before chowning the log files,
"touch" them to ensure they exist.  This failure previously prevented
the discourse_dev `ensure-database` script from running, which made
development use of discourse_dev very difficult.

Update to version 1.3.7.  (Driven by IMAGE_VERSION in the Makefile.
Mostly, this is to ensure that the next official build of the images
will be *at least* 1.3.7, superseding any previous versions.)
2016-09-20 15:02:31 -07:00
Jay Pfaffman
f8c887b627 Add memconfig to launcher: Configure defaults based on available RAM
Creates or modifies config of db_shared_buffers, db_work_mem, and
UNICORN_WORKERS based on available RAM. Parameters not set in config
file (i.e., commented out), are left unchanged and a warning is printed.
Uses samples/standalone_template.yml as basis, but if accepted, I
recommend uncommenting these defaults in standalone.yml and using it
instead.
2016-04-20 10:48:39 -05:00
Erick Guan
5372d62ced Moving to ruby-china rubygems mirror for china template 2016-03-13 13:16:10 +01:00
Sam
45f0fd1aa8 Update README.md
remove ssh refs
2016-01-19 19:40:47 +11:00
Sam
ab7a956d01 Remove SSH refs 2016-01-09 17:39:27 +11:00
Dan Dascalescu
5a53874892 Fix typo 2015-10-16 05:41:41 -07:00
Matt Palmer
a1a2b49764 Add a bit of light documentation for using Vagrant 2015-09-14 15:49:08 +10:00
Kovah
b6487270a3 Removing the mailtest command from the launcher reference
The mailtest command was removed in [579ce85](579ce85d19)., should be removed from the `launcher` reference in the README.md file
2015-07-28 15:46:44 +02:00
Ben Alpert
046dfa65ab Fix INSTALL instructions link in README 2015-05-05 17:33:01 -07:00
Guo Xiang Tan
f1579f0eff Update README.
Follow up to 8b4382c7aa.
2015-04-09 09:40:22 +08:00
Guo Xiang Tan
8b4382c7aa Add documentation for links. 2015-04-08 10:52:28 +08:00
Régis Hanol
9db68c0759 Merge pull request from tgxworld/typo
Fix type in README.
2015-03-19 15:54:10 +01:00
Guo Xiang Tan
dae709bfe4 Fix type in README. 2015-03-19 22:28:10 +08:00
Guo Xiang Tan
8aab40cad6 Fix typo.
[CI SKIP]
2015-03-19 14:05:08 +08:00
Erick Guan
bad7b58516 add reference about rubygems china mirror in advanced section 2014-11-18 00:29:19 +08:00
Sam
569bd6e87e Merge pull request from axilleas/new_location_fix
README fixes
2014-10-09 09:27:26 +11:00
Achilleas Pipinellis
c12bc31824 Fix forgotten path to old location, remove extra bracket, change docker docs url. 2014-10-08 15:51:58 +03:00
zdk
cbe0a21a74 Update readme to reflect linking feature. 2014-10-07 13:06:54 +07:00
Tino Breddin
e0fd1f5b0f 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/
2014-09-16 15:39:51 +02:00
Jeff Atwood
7e81faaed7 Bring readme up to date 2014-08-18 01:00:30 -07:00
Michael Brown
93cbc0d483 Add more suggestions for troubleshooting. 2014-08-03 00:32:19 -04:00
Michael Brown
a89c92f282 Add suggestion from for setting proxy information in the container 2014-08-03 00:11:44 -04:00
Kane York
16051fe559 Supporting Discourse projects are MIT license 2014-07-17 11:34:15 -07:00
Evan Flynn
c8abb15a19 Fix typo on Ubuntu version 2014-07-08 20:51:19 -04:00
Jeff Atwood
2a61975d39 remove ubuntu 13 in favor of ubuntu 14 2014-07-08 11:25:16 -07:00
Sam
43182c916f Revert "Add how to configure ssh access into the container"
This reverts commit 5c7d0d2768.
2014-05-14 07:47:16 +10:00
Sam
4d38d137de Merge pull request from alexdong/patch-2
Add how to configure ssh access into the container
2014-05-14 07:46:45 +10:00
Sam
2e261c4d91 Update README.md 2014-03-25 16:22:46 +11:00
Alex Dong
5c7d0d2768 Add how to configure ssh access into the container 2014-03-25 11:11:12 +13:00
Alex Dong
e8c34114aa 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.
2014-03-25 10:39:34 +13:00
Brendan Tobolaski
f2e9d32eda 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.
2014-03-22 21:50:06 -05:00
Annika Backstrom
c23bbe536a Spelling: s/discoruse/discourse/ 2014-03-22 08:13:42 -04:00
Sam
88126ebaba ssh key is now automatic no need to configure it 2014-03-21 14:55:48 +11:00
Sam
dda0e62b88 Update README.md 2014-03-19 10:54:42 +11:00
Sam
1f5f96003d Update README.md 2014-02-25 08:18:43 +11:00
Robin Ward
dfe60faff1 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.
2014-01-22 17:07:18 -05:00
Sam
895c8e54a4 data begone 2014-01-22 09:31:58 +11:00
Michael Brown
df9a94311e Add ssh-keygen instructions for running as user 2014-01-21 01:20:17 -05:00
Michael Brown
596faf7a60 Fix up documentation and enhance suggestions 2014-01-21 01:15:57 -05:00