ssh key is now automatic no need to configure it
[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 params:
13 version: HEAD
14
15 # developer emails allow you to fast track account creation on the site
16 env:
17 # add emails here
18 DISCOURSE_DEVELOPER_EMAILS: ''
19 DISCOURSE_DB_SOCKET: ''
20 DISCOURSE_DB_PASSWORD: SOME_SECRET
21 DISCOURSE_DB_HOST: YOUR_IP_ADDRESS
22 DISCOURSE_HOSTNAME: 'www.example.com'
23 DISCOURSE_REDIS_HOST: YOUR_IP_ADDRESS
24 # don't forget to set mail
25 # DISCOURSE_SMTP_ADDRESS: smtp.mandrillapp.com
26 # DISCOURSE_SMTP_PORT: 587
27 # DISCOURSE_SMTP_USER_NAME: user@example.com
28 # DISCOURSE_SMTP_PASSWORD: p@ssword
29
30 volumes:
31 - volume:
32 host: /var/docker/shared
33 guest: /shared
34
35 # you may use the docker manager to upgrade and monitor your docker image
36 # UI will be visible at http://yoursite.com/admin/docker
37 hooks:
38 # you may import your key using launchpad if needed
39 #after_sshd:
40 # - exec: ssh-import-id some-user
41 after_code:
42 - exec:
43 cd: $home/plugins
44 cmd:
45 - mkdir -p plugins
46 - git clone https://github.com/discourse/docker_manager.git