X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=README.md;h=792f6c0299a8475aa34ba3317fb13d585c3564c8;hb=680432b0e4c8f5af71133f630406842dd968a436;hp=f01957bcd2a063994e9494d83fd48450ea45d26e;hpb=c23bbe536a098dde8ced76e8d26c29931a12fe95;p=discourse_docker.git diff --git a/README.md b/README.md index f01957b..792f6c0 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ ### IMPORTANT: Before You Start -1. Make sure you're running a **64 bit** version of either [Ubuntu 12.04 LTS](http://releases.ubuntu.com/precise/), [Ubuntu 13.04](http://releases.ubuntu.com/13.04/) or [Ubuntu 13.10](http://releases.ubuntu.com/13.10/). +1. Make sure you're running a **64 bit** version of either [Ubuntu 12.04 LTS](http://releases.ubuntu.com/precise/), or [Ubuntu 14.04 LTS](http://releases.ubuntu.com/14.04/). 1. Upgrade to the [latest version of Docker](http://docs.docker.io/en/latest/installation/ubuntulinux/). 1. Create a directory for Discourse Docker (the expected path is `/var/docker`): `install -g docker -m 2775 -d /var/docker` 1. Run the docker installation and launcher as **root** or a member of the **docker** group. @@ -99,9 +99,10 @@ This template is "composed" out of all these child templates, this allows for a ``` expose: - "2222:22" + - "127.0.0.1:20080:80" ``` -Expose port 22 inside the container on port 2222 on ALL local host interfaces. +Expose port 22 inside the container on port 2222 on ALL local host interfaces. In order to bind to only one interface, you may specify the host's IP address as `([:[host_port]])|():][/udp]` as defined in the [docker port binding documentation](http://docs.docker.io/en/latest/use/port_redirection/) #### volumes: @@ -123,8 +124,8 @@ The Docker setup gives you multiple upgrade options: 1. Use the front end at http://yoursite.com/admin/docker to upgrade an already running image. 2. Create a new base image by running: - - `./launcher bootstrap my_image` - `./launcher destroy my_image` + - `./launcher bootstrap my_image` - `./launcher start my_image` ### Single Container vs. Multiple Container @@ -162,3 +163,8 @@ installs you can ensure they are in sync by looking at `/etc/passwd` and ### Advanced topics - [Setting up SSL with Discourse Docker](https://meta.discourse.org/t/allowing-ssl-for-your-discourse-docker-setup/13847) +- [Multisite configuration with Docker](https://meta.discourse.org/t/multisite-configuration-with-docker/14084) + +License +=== +MIT