Merge pull request #52 from cauerego/patch-1
[discourse_docker.git] / samples / web_only.yml
1 # IMPORTANT: SET A SECRET PASSWORD in Postgres for the Discourse User
2 # SOME_SECRET in this template
3
4 templates:
5 - "templates/sshd.template.yml"
6 - "templates/web.template.yml"
7
8 expose:
9 - "80:80"
10 - "2222:22"
11
12 # tests-passed is default
13 #params:
14 # version: tests-passed
15
16 # developer emails allow you to fast track account creation on the site
17 env:
18 # add emails here
19 LANG: en_US.UTF-8
20
21 DISCOURSE_DEVELOPER_EMAILS: ''
22 DISCOURSE_DB_SOCKET: ''
23 DISCOURSE_DB_PASSWORD: SOME_SECRET
24 DISCOURSE_DB_HOST: YOUR_IP_ADDRESS
25 DISCOURSE_HOSTNAME: 'www.example.com'
26 DISCOURSE_REDIS_HOST: YOUR_IP_ADDRESS
27 # don't forget to set mail
28 # DISCOURSE_SMTP_ADDRESS: smtp.mandrillapp.com
29 # DISCOURSE_SMTP_PORT: 587
30 # DISCOURSE_SMTP_USER_NAME: user@example.com
31 # DISCOURSE_SMTP_PASSWORD: p@ssword
32
33 volumes:
34 - volume:
35 host: /var/docker/shared
36 guest: /shared
37
38 # you may use the docker manager to upgrade and monitor your docker image
39 # UI will be visible at http://yoursite.com/admin/docker
40 hooks:
41 # you may import your key using launchpad if needed
42 #after_sshd:
43 # - exec: ssh-import-id some-user
44 after_code:
45 - exec:
46 cd: $home/plugins
47 cmd:
48 - mkdir -p plugins
49 - git clone https://github.com/discourse/docker_manager.git