amend config to work nicely with new zero sample files policy
[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
16 ssh_key: YOUR_SSH_KEY
17 # git revision to run
18 version: HEAD
19
20
21 env:
22 # your email here
23 DEVELOPER_EMAILS: 'my_email@email.com'
24 # CHANGE ME to your hostname
25 DISCOURSE_HOSTNAME: 'www.example.com'
26 # SET ME to your smtp server eg mandrill
27 # SMTP_URL: 'smtp://user@example.com:password@smtp.mandrillapp.com:587'
28
29 volumes:
30 - volume:
31 host: /var/docker/data
32 guest: /shared
33
34 # you may use the docker manager to upgrade and monitor your docker image
35 # UI will be visible at http://yoursite.com/admin/docker
36 hooks:
37 after_code:
38 - exec:
39 cd: $home/plugins
40 cmd:
41 - mkdir -p plugins
42 - git clone https://github.com/discourse/docker_manager.git