forked from discourse/discourse_docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathweb_only.yml
More file actions
46 lines (40 loc) · 1.2 KB
/
web_only.yml
File metadata and controls
46 lines (40 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# IMPORTANT: SET A SECRET PASSWORD in Postgres for the Discourse User
# SOME_SECRET in this template
templates:
- "templates/sshd.template.yml"
- "templates/web.template.yml"
expose:
- "80:80"
- "2222:22"
params:
version: HEAD
# developer emails allow you to fast track account creation on the site
env:
# add emails here
DISCOURSE_DEVELOPER_EMAILS: ''
DISCOURSE_DB_SOCKET: ''
DISCOURSE_DB_PASSWORD: SOME_SECRET
DISCOURSE_DB_HOST: YOUR_IP_ADDRESS
DISCOURSE_HOSTNAME: 'www.example.com'
DISCOURSE_REDIS_HOST: YOUR_IP_ADDRESS
# don't forget to set mail
# DISCOURSE_SMTP_ADDRESS: smtp.mandrillapp.com
# DISCOURSE_SMTP_PORT: 587
# DISCOURSE_SMTP_USER_NAME: [email protected]
# DISCOURSE_SMTP_PASSWORD: p@ssword
volumes:
- volume:
host: /var/docker/shared
guest: /shared
# you may use the docker manager to upgrade and monitor your docker image
# UI will be visible at http://yoursite.com/admin/docker
hooks:
# you may import your key using launchpad if needed
#after_sshd:
# - exec: ssh-import-id some-user
after_code:
- exec:
cd: $home/plugins
cmd:
- mkdir -p plugins
- git clone https://github.com/discourse/docker_manager.git