DigitalOcean cloud installation - going inside the docker

(Steve Ng) #1


I follow the installation instruction at discourse/ at master · discourse/discourse · GitHub

  1. How do i go inside the code to perform things like bin/rake admin:create

  2. Is there anyway I can set it to pull from docker’s stable branch? I think it’s pulling from master


(@SenpaiMass) #2

./launcher enter app

Should be able to get you inside the container.

(Felix Freiberger) #3

Do you mean Discourse? If so, you’re probably pulling from beta, which is currently considered best practice (and therefore is the default).

If you want to switch to stable (which isn’t necessarily more stable than beta), you can do so in app.yml when the next stable version is released.

(Steve Ng) #4

Sorry i meant discourse’s stable branch.

when you mention app.yml, did you mean this particular attribute to set?

Which Git revision should this container use? (default: tests-passed)

#version: tests-passed
version: stable

or can i edit images/discourse/DockerFile and set it to checkout stable branch?

(Felix Freiberger) #5

That’s the one.

Keep in mind that downgrades are not supported, so only change this value if the new branch has a newer version.