amend config to work nicely with new zero sample files policy
[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
14 # your ssh key can go here, or you can use ssh-import-id
15 ssh_key: ""
16 version: HEAD
17
18 # developer emails allow you to fast track account creation on the site
19 env:
20 # add emails here
21 DEVELOPER_EMAILS: ''
22 POSTGRES_SOCKET: ''
23 POSTGRES_URL: pg://discourse:SOME_SECRET@YOUR_IP_ADDRESS
24 POSTGRES_DB: discourse
25 DISCOURSE_HOSTNAME: 'www.example.com'
26 REDIS_ADDRESS: YOUR_IP_ADDRESS
27 # don't forget to set mail
28 # SMTP_URL: 'smtp://user@example.com:password@smtp.mandrillapp.com:587'
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