# this is the base templates used, you can cut it down to include less functionality per container templates: - "templates/cron.template.yml" - "templates/postgres.template.yml" - "templates/redis.template.yml" - "templates/sshd.template.yml" - "templates/web.template.yml" # which ports to expose? expose: - "80:80" - "2222:22" params: # ssh key so you can log in, a tip, try using the key for root in ~root/.ssh or generate one # using ssh-keygen ssh_key: YOUR_SSH_KEY # git revision to run version: HEAD env: # your email here DEVELOPER_EMAILS: 'my_email@email.com' # CHANGE ME to your hostname DISCOURSE_HOSTNAME: 'www.example.com' # SET ME to your smtp server eg mandrill # SMTP_URL: 'smtp://user@example.com:password@smtp.mandrillapp.com:587' volumes: - volume: host: /var/docker/data 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: after_code: - exec: cd: $home/plugins cmd: - mkdir -p plugins - git clone https://github.com/discourse/docker_manager.git