Skip to content

Instantly share code, notes, and snippets.

@YesThatAllen
Created June 11, 2016 02:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YesThatAllen/0eb80062b913469ae7d415fe1ec73483 to your computer and use it in GitHub Desktop.
Save YesThatAllen/0eb80062b913469ae7d415fe1ec73483 to your computer and use it in GitHub Desktop.
root@forum:/var/discourse# git log -1
commit 0f60d8836e56af9e0399edcdd604e0cc51c5d1e4
Merge: 382c8e4 51d2e64
Author: Sam <sam.saffron@gmail.com>
Date: Fri May 27 09:40:17 2016 +1000
Merge pull request #261 from fefrei/patch-3
Fixed paths in the postgres upgrade instructions
root@forum:/var/discourse# ./launcher rebuild app
Ensuring launcher is up to date
Fetching origin
remote: Counting objects: 57, done.
remote: Compressing objects: 100% (52/52), done.
remote: Total 57 (delta 25), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (57/57), done.
From https://github.com/discourse/discourse_docker
0f60d88..2d33799 master -> origin/master
Updating Launcher
Updating 0f60d88..2d33799
Fast-forward
discourse-setup | 2 +-
image/base/.gitignore | 1 +
image/base/Dockerfile | 22 ++++++++++++++--------
image/base/download_phantomjs | 3 +++
image/base/install-imagemagick | 2 +-
image/base/install-nginx | 39 +++++++++++++++++++++++++++++++++++++++
image/build.rb | 4 +++-
image/discourse/Dockerfile | 4 ++--
image/discourse_test/Dockerfile | 2 +-
launcher | 2 +-
templates/postgres.template.yml | 2 +-
templates/redis.template.yml | 7 +++++++
templates/web.template.yml | 7 +++++++
13 files changed, 81 insertions(+), 16 deletions(-)
create mode 100644 image/base/.gitignore
create mode 100755 image/base/download_phantomjs
create mode 100755 image/base/install-nginx
WARNING: We are about to start downloading the Discourse base image
This process may take anywhere between a few minutes to an hour, depending on your network speed
Please be patient
Unable to find image 'discourse/discourse:1.3.5' locally
1.3.5: Pulling from discourse/discourse
6d28225f8d96: Already exists
980fbaeadfb6: Pulling fs layer
6b76e99b0a75: Pulling fs layer
a3ed95caeb02: Pulling fs layer
a3ed95caeb02: Verifying Checksum
a3ed95caeb02: Download complete
6b76e99b0a75: Verifying Checksum
6b76e99b0a75: Download complete
980fbaeadfb6: Verifying Checksum
980fbaeadfb6: Download complete
980fbaeadfb6: Pull complete
6b76e99b0a75: Pull complete
a3ed95caeb02: Pull complete
Digest: sha256:a3fffe0bc4a462c52429e4986932a1733be384f9211e7e48f14864bd9306fb53
Status: Downloaded newer image for discourse/discourse:1.3.5
Usage: launcher COMMAND CONFIG [--skip-prereqs] [--docker-args STRING]
Commands:
start: Start/initialize a container
stop: Stop a running container
restart: Restart a container
destroy: Stop and remove a container
enter: Use nsenter to get a shell into a container
logs: View the Docker logs for a container
bootstrap: Bootstrap a container for the config based on a template
rebuild: Rebuild a container (destroy old, bootstrap, start new)
cleanup: Remove all containers that have stopped for > 24 hours
Options:
--skip-prereqs Don't check launcher prerequisites
--docker-args Extra arguments to pass when running docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment