Commit | Line | Data |
---|---|---|
80c11be3 SS |
1 | # IMPORTANT: SET A SECRET PASSWORD in Postgres for the Discourse User |
2 | # SOME_SECRET in this template | |
3 | ||
67a25ebf | 4 | templates: |
67a25ebf SS |
5 | - "templates/sshd.template.yml" |
6 | - "templates/web.template.yml" | |
7 | ||
8 | expose: | |
9 | - "80:80" | |
10 | - "2222:22" | |
11 | ||
b56a2bd7 S |
12 | # tests-passed is default |
13 | #params: | |
14 | # version: tests-passed | |
67a25ebf | 15 | |
80c11be3 | 16 | # developer emails allow you to fast track account creation on the site |
67a25ebf | 17 | env: |
38000fc6 | 18 | # add emails here |
3cb3d9c4 S |
19 | LANG: en_US.UTF-8 |
20 | ||
116a8438 | 21 | DISCOURSE_DEVELOPER_EMAILS: '' |
7af2a47c SS |
22 | DISCOURSE_DB_SOCKET: '' |
23 | DISCOURSE_DB_PASSWORD: SOME_SECRET | |
24 | DISCOURSE_DB_HOST: YOUR_IP_ADDRESS | |
38000fc6 | 25 | DISCOURSE_HOSTNAME: 'www.example.com' |
7af2a47c | 26 | DISCOURSE_REDIS_HOST: YOUR_IP_ADDRESS |
38000fc6 | 27 | # don't forget to set mail |
c148f4c9 SS |
28 | # DISCOURSE_SMTP_ADDRESS: smtp.mandrillapp.com |
29 | # DISCOURSE_SMTP_PORT: 587 | |
30 | # DISCOURSE_SMTP_USER_NAME: user@example.com | |
31 | # DISCOURSE_SMTP_PASSWORD: p@ssword | |
67a25ebf SS |
32 | |
33 | volumes: | |
34 | - volume: | |
80c11be3 | 35 | host: /var/docker/shared |
67a25ebf SS |
36 | guest: /shared |
37 | ||
b488838a SS |
38 | # you may use the docker manager to upgrade and monitor your docker image |
39 | # UI will be visible at http://yoursite.com/admin/docker | |
67a25ebf | 40 | hooks: |
8dea575c SS |
41 | # you may import your key using launchpad if needed |
42 | #after_sshd: | |
43 | # - exec: ssh-import-id some-user | |
67a25ebf SS |
44 | after_code: |
45 | - exec: | |
46 | cd: $home/plugins | |
47 | cmd: | |
48 | - mkdir -p plugins | |
67a25ebf | 49 | - git clone https://github.com/discourse/docker_manager.git |