diff --git a/sharelatex/defaults/main.yml b/sharelatex/defaults/main.yml index 66ecf0e..bc610f8 100644 --- a/sharelatex/defaults/main.yml +++ b/sharelatex/defaults/main.yml @@ -7,11 +7,14 @@ sharelatex_privileged: False sharelatex_container_public_port: 5000 sharelatex_container_local_port: 80 sharelatex_behind_proxy: 'true' +sharelatex_hostname: '{{ ansible_fqdn }}' sharelatex_local_mongodb: False sharelatex_local_redis: False sharelatex_local_nginx: False -sharelatex_mongodb_url: 'mongodb://mongo/sharelatex' +sharelatex_mongodb_host: 'localhost' +sharelatex_mongodb_db: 'sharelatex' +sharelatex_mongodb_url: 'mongodb://{{ sharelatex_mongodb_host }}/{{ sharelatex_mongodb_db }}' sharelatex_redis_host: localhost sharelatex_app_name: Our ShareLaTeX sharelatex_site_url: 'http://localhost/sharelatex'