Commit cc6adb43 authored by nono's avatar nono 💻
Browse files

Update config file to be able to use Discourse on multi-site serversz

parent b1ab9c8d
......@@ -5,10 +5,12 @@ templates:
- "templates/web.ratelimited.template.yml"
# - "templates/web.ssl.template.yml"
# - "templates/web.letsencrypt.ssl.template.yml"
# See https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse
- "templates/web.socketed.template.yml"
expose:
- "8000:80" # http
- "443:443" # https
# - "8000:80" # http
# - "443:443" # https
params:
db_default_text_search_config: "pg_catalog.english"
......@@ -25,7 +27,7 @@ env:
## Uncomment if you want the container to be started with the same
## hostname (-h option) as specified above (default "$hostname-$config")
DOCKER_USE_HOSTNAME: true
# DOCKER_USE_HOSTNAME: true
## List of comma delimited emails that will be made admin and developer
## on initial signup example 'user1@example.com,user2@example.com'
......@@ -60,9 +62,10 @@ hooks:
cd: $home/plugins
cmd:
- git clone https://github.com/discourse/docker_manager.git
{% for plugin in discourse_forum_plugins %}
{% for plugin in discourse_forum_plugins %}
- git clone {{ plugin.url }} {{ plugin.name }} ; cd {{ plugin.name }} ; git checkout {{ plugin.hash }}
{% endfor %}
{% endfor %}
- exec:
cd: $home
cmd:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment