templates: - "templates/sshd.template.yml" - "templates/web.template.yml" expose: - "80:80" - "2222:22" params: ssh_key: YOUR_KEY version: HEAD database_yml: production: host_names: - example.com env: DEVELOPER_EMAILS: 'dev@example.com' volumes: - volume: host: /home/sam/discourse_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