improve readme
[discourse_docker.git] / samples / web_only.yml
CommitLineData
67a25ebf 1templates:
67a25ebf
SS
2 - "templates/sshd.template.yml"
3 - "templates/web.template.yml"
4
5expose:
6 - "80:80"
7 - "2222:22"
8
9params:
10 ssh_key: YOUR_KEY
11
12 version: HEAD
13
14
15 database_yml:
16 production:
17 host_names:
18 - example.com
19env:
20 DEVELOPER_EMAILS: 'dev@example.com'
21
22volumes:
23 - volume:
24 host: /home/sam/discourse_docker/shared
25 guest: /shared
26
b488838a
SS
27
28# you may use the docker manager to upgrade and monitor your docker image
29# UI will be visible at http://yoursite.com/admin/docker
67a25ebf 30hooks:
8dea575c
SS
31# you may import your key using launchpad if needed
32#after_sshd:
33# - exec: ssh-import-id some-user
67a25ebf
SS
34 after_code:
35 - exec:
36 cd: $home/plugins
37 cmd:
38 - mkdir -p plugins
67a25ebf 39 - git clone https://github.com/discourse/docker_manager.git