File tree 4 files changed +8
-21
lines changed
4 files changed +8
-21
lines changed Original file line number Diff line number Diff line change 5
5
templates :
6
6
- " templates/postgres.template.yml"
7
7
- " templates/redis.template.yml"
8
- - " templates/sshd.template.yml"
9
-
10
- # change to use your private IP
11
- expose :
12
- - " 10.0.0.1:5432:5432"
13
- - " 10.0.0.1:6379:6379"
14
8
15
9
# any extra arguments for Docker?
16
10
# docker_args:
Original file line number Diff line number Diff line change 1
1
templates :
2
2
- " templates/redis.template.yml"
3
- - " templates/sshd.template.yml"
4
3
5
4
env :
6
5
LANG : en_US.UTF-8
7
6
8
7
# any extra arguments for Docker?
9
8
# docker_args:
10
9
11
- expose :
12
- - " 6379:6379"
13
- - " 2221:22"
14
-
15
10
volumes :
16
11
- volume :
17
12
host : /var/discourse/shared/redis
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ templates:
17
17
- " templates/postgres.template.yml"
18
18
- " templates/redis.template.yml"
19
19
- " templates/web.template.yml"
20
- - " templates/sshd.template.yml"
21
20
- " templates/web.ratelimited.template.yml"
22
21
23
22
# # which TCP/IP ports should this container expose?
Original file line number Diff line number Diff line change 2
2
# TODO: change SOME_SECRET in this template
3
3
4
4
templates :
5
- - " templates/sshd.template.yml"
6
5
- " templates/web.template.yml"
7
6
- " templates/web.ratelimited.template.yml"
8
7
9
8
expose :
10
9
- " 80:80"
11
10
- " 2222:22"
12
11
12
+ # Use 'links' key to link containers together, aka use Docker --link flag.
13
+ links :
14
+ - link :
15
+ name : data
16
+ alias : data
17
+
13
18
# any extra arguments for Docker?
14
19
# docker_args:
15
20
28
33
DISCOURSE_DB_SOCKET : ' '
29
34
# DISCOURSE_DB_USERNAME: discourse
30
35
DISCOURSE_DB_PASSWORD : SOME_SECRET
31
- DISCOURSE_DB_HOST : DB_IP_ADDRESS
32
- DISCOURSE_REDIS_HOST : REDIS_IP_ADDRESS
36
+ DISCOURSE_DB_HOST : data
37
+ DISCOURSE_REDIS_HOST : data
33
38
# #
34
39
# # TODO: List of comma delimited emails that will be made admin and developer
35
40
@@ -55,12 +60,6 @@ volumes:
55
60
host : /var/discourse/shared/web-only/log/var-log
56
61
guest : /var/log
57
62
58
- # Use 'links' key to link containers together, aka use Docker --link flag.
59
- # links:
60
- # - link:
61
- # name: data
62
- # alias: data
63
-
64
63
# # The docker manager plugin allows you to one-click upgrade Discouse
65
64
# # http://discourse.example.com/admin/docker
66
65
hooks :
You can’t perform that action at this time.
0 commit comments