# IMPORTANT: SET A SECRET PASSWORD in Postgres for the Discourse User # SOME_SECRET in this template templates: - "templates/sshd.template.yml" - "templates/web.template.yml" expose: - "80:80" - "2222:22" params: version: HEAD # developer emails allow you to fast track account creation on the site env: # add emails here DISCOURSE_DEVELOPER_EMAILS: '' DISCOURSE_DB_SOCKET: '' DISCOURSE_DB_PASSWORD: SOME_SECRET DISCOURSE_DB_HOST: YOUR_IP_ADDRESS DISCOURSE_HOSTNAME: 'www.example.com' DISCOURSE_REDIS_HOST: YOUR_IP_ADDRESS # don't forget to set mail # DISCOURSE_SMTP_ADDRESS: smtp.mandrillapp.com # DISCOURSE_SMTP_PORT: 587 # DISCOURSE_SMTP_USER_NAME: user@example.com # DISCOURSE_SMTP_PASSWORD: p@ssword volumes: - volume: host: /var/docker/shared guest: /shared # you may use the docker manager to upgrade and monitor your docker image # UI will be visible at http://yoursite.com/admin/docker hooks: # you may import your key using launchpad if needed #after_sshd: # - exec: ssh-import-id some-user after_code: - exec: cd: $home/plugins cmd: - mkdir -p plugins - git clone https://github.com/discourse/docker_manager.git