Merge pull request #22 from Supermathie/master
[discourse_docker.git] / samples / standalone.yml
CommitLineData
b6f290a0
SS
1# this is the base templates used, you can cut it down to include less functionality per container
2templates:
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"
fbdbfba4
SS
8# which ports to expose?
9expose:
10 - "80:80"
11 - "2222:22"
12
13params:
fbdbfba4
SS
14 # git revision to run
15 version: HEAD
16
17
fbdbfba4 18env:
38000fc6 19 # your email here
9be8f5b9 20 DISCOURSE_DEVELOPER_EMAILS: 'my_email@email.com'
38000fc6
SS
21 # CHANGE ME to your hostname
22 DISCOURSE_HOSTNAME: 'www.example.com'
23 # SET ME to your smtp server eg mandrill
c148f4c9
SS
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
1fe0bcd3
SS
29
30volumes:
31 - volume:
d30e09fc 32 host: /var/docker/shared
1fe0bcd3 33 guest: /shared
b488838a
SS
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
37hooks:
38 after_code:
39 - exec:
40 cd: $home/plugins
41 cmd:
42 - mkdir -p plugins
43 - git clone https://github.com/discourse/docker_manager.git