BUGFIX: ensure a locale is set correctly
[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 version: HEAD
14
15 # developer emails allow you to fast track account creation on the site
16 env:
17 # add emails here
18 LANG: en_US.UTF-8
19
20 DISCOURSE_DEVELOPER_EMAILS: ''
21 DISCOURSE_DB_SOCKET: ''
22 DISCOURSE_DB_PASSWORD: SOME_SECRET
23 DISCOURSE_DB_HOST: YOUR_IP_ADDRESS
24 DISCOURSE_HOSTNAME: 'www.example.com'
25 DISCOURSE_REDIS_HOST: YOUR_IP_ADDRESS
26 # don't forget to set mail
27 # DISCOURSE_SMTP_ADDRESS: smtp.mandrillapp.com
28 # DISCOURSE_SMTP_PORT: 587
29 # DISCOURSE_SMTP_USER_NAME: user@example.com
30 # DISCOURSE_SMTP_PASSWORD: p@ssword
31
32 volumes:
33 - volume:
34 host: /var/docker/shared
35 guest: /shared
36
37 # you may use the docker manager to upgrade and monitor your docker image
38 # UI will be visible at http://yoursite.com/admin/docker
39 hooks:
40 # you may import your key using launchpad if needed
41 #after_sshd:
42 # - exec: ssh-import-id some-user
43 after_code:
44 - exec:
45 cd: $home/plugins
46 cmd:
47 - mkdir -p plugins
48 - git clone https://github.com/discourse/docker_manager.git