5c1a4b81e6076ad965945cb9f05d4bd8a7127823
[discourse_docker.git] / samples / web_only.yml
1 templates:
2 - "templates/sshd.template.yml"
3 - "templates/web.template.yml"
4
5 expose:
6 - "80:80"
7 - "2222:22"
8
9 params:
10 ssh_key: YOUR_KEY
11
12 version: HEAD
13
14
15 database_yml:
16 production:
17 host_names:
18 - example.com
19 env:
20 DEVELOPER_EMAILS: 'dev@example.com'
21
22 volumes:
23 - volume:
24 host: /home/sam/discourse_docker/shared
25 guest: /shared
26
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
30 hooks:
31 # you may import your key using launchpad if needed
32 #after_sshd:
33 # - exec: ssh-import-id some-user
34 after_code:
35 - exec:
36 cd: $home/plugins
37 cmd:
38 - mkdir -p plugins
39 - git clone https://github.com/discourse/docker_manager.git