I only get the default page from the webserver and not discourse (Jelastic with docker image)

First discourse is an excellent software and I am totally thrilled. Only I have a problem with the installation. I would like to use Jelastic with a Docker image. However, when I load the docker image for Jelastic I only get the default page from the webserver and not discourse.

What am I doing wrong? What I must do?

I hope someone can help me.

Thank you,
Sven

1 Like

Hello @sm-a,

Discourse won’t be compatible with a PaaS/CaaS out of the box.

I recommend going with a good old VPS, which you can get from Digital Ocean, Vultr, etc for $5.

4 Likes

Welcome, @sm-a. You really need to follow https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md. The docker image needs considerable configuration to create a usable instance.

1 Like

Hello, @sm-a ! To install Discourse on Jelastic, please follow these steps:

1) Create a new environment using the following parameters (https://docs.jelastic.com/setting-up-environment):

- New environment – Docker – Search — Docker hub – “discourse/base”
- Vertical scaling per node:
    - reserved – 25 cloudlets
	- scaling limit – 30 cloudlets
- Disc limit- 20 Gb
- Add public IP (IPv4 or IPv6)

2) Start the created environment and execute the following commands in the container console (via SSH Web - (SSH Access to Container: Manage Your Server Remotely | Jelastic)):

service nginx stop
update-rc.d -f nginx disable
wget -qO- https://get.docker.com/ | sh
service docker start
mkdir /var/discourse
git clone https://github.com/discourse/discourse_docker.git /var/discourse
cd /var/discourse
./discourse-setup

3) Run the installation of Discourse with the such parameters (set in the console during the installation process):

Hostname for your Discourse? [discourse.example.com]: 
Email address for admin account(s)?	[me@example.com,you@example.com]: 
SMTP server address? [smtp.example.com]: 
SMTP port? [587]: 
SMTP user name? [user@example.com]: 
SMTP password? [pa$$word]: 
Let's Encrypt account email? (ENTER to skip) [me@example.com]:

4) Optionally, perform fine tuning of the environment - trace the number of used cloudlets and set up with a small encrease as “Reserved cloudlets”.

5) Read the recommendations of the developer Discourse - _https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md (please remove underline on begin of link (added because account limitation))

If you have any additional questions don’t hesitate to ask your hosting provider or contacting us directly via form - _https://jelastic.com/contact (please remove underline on begin of link (added because account limitation))).

4 Likes