What's the path to Discourse installation and uploads directories?

(Aahan Krish) #1

I installed Discourse following the official documentation using Docker. Looked for /var/www/discourse, but it doesn’t exist.

So, what’s the actual location of Discourse (i.e. site’s root)? Where is the uploads directory located?

(Régis Hanol) #2

Discourse is installed in /var/www/discourse in the container. On the host, you have to go to /var/docker and then execute ./launcher ssh app to ssh into the container.

The uploads directory is located at /var/www/discourse/public/uploads (also inside the container).

(Aahan Krish) #3

@zogstrip Ah, so these directories in the container, aren’t they available via (S)FTP? i.e. don’t they have a real path where they can be accessed directly?

(Bill Ayakatubby) #4

See also:

(Régis Hanol) #5

Some of the files are shared with the host and are available at /var/docker/shared (on the host).