A couple of small updates following feedback. We make it even more
[discourse_docker.git] / samples / standalone.yml
1 # this is the base templates used, you can cut it down to include less functionality per container
2 templates:
3 - "templates/cron.template.yml"
4 - "templates/postgres.template.yml"
5 - "templates/redis.template.yml"
6 - "templates/sshd.template.yml"
7 - "templates/web.template.yml"
8 # which ports to expose?
9 expose:
10 - "80:80"
11 - "2222:22"
12
13 params:
14 # ssh key so you can log in, a tip, try using the key for root in ~root/.ssh or generate one
15 # using ssh-keygen. This should be a string containing the key contents. For more information
16 # see Troubleshooting in README
17 ssh_key: YOUR_SSH_KEY
18 # git revision to run
19 version: HEAD
20
21
22 env:
23 # your email here
24 DISCOURSE_DEVELOPER_EMAILS: 'my_email@email.com'
25 # CHANGE ME to your hostname
26 DISCOURSE_HOSTNAME: 'www.example.com'
27 # SET ME to your smtp server eg mandrill
28 # don't forget to set mail
29 # DISCOURSE_SMTP_ADDRESS: smtp.mandrillapp.com
30 # DISCOURSE_SMTP_PORT: 587
31 # DISCOURSE_SMTP_USER_NAME: user@example.com
32 # DISCOURSE_SMTP_PASSWORD: p@ssword
33
34 volumes:
35 - volume:
36 host: /var/docker/shared
37 guest: /shared
38
39 # you may use the docker manager to upgrade and monitor your docker image
40 # UI will be visible at http://yoursite.com/admin/docker
41 hooks:
42 after_code:
43 - exec:
44 cd: $home/plugins
45 cmd:
46 - mkdir -p plugins
47 - git clone https://github.com/discourse/docker_manager.git