File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 9
9
10
10
templates:
11
11
- "templates/web.template.yml"
12
- - "templates/sshd.template.yml"
13
12
- "templates/web.ratelimited.template.yml"
14
13
15
14
expose:
16
15
- "{{ upstream_port }}:80" # fwd host port 8001 to container port 80 (http)
17
- - "2222:22" # fwd host port 2222 to container port 22 (ssh)
18
16
19
17
params:
20
18
db_default_text_search_config: "pg_catalog.english"
@@ -47,9 +45,14 @@ hooks:
47
45
- mkdir -p plugins
48
46
- git clone https://github.com/discourse/docker_manager.git
49
47
50
- run:
51
- - exec: echo "Beginning of custom commands"
52
- - exec: ssh-import-id gh:renoirb
53
- - exec: echo "End of custom commands"
54
- - exec: awk -F\# '{print $1;}' ~/.ssh/authorized_keys | awk 'BEGIN { print "Authorized SSH keys for this container:"; } NF>=2 {print $NF;}'
48
+ ##
49
+ ## We don’t rely on allowing ssh to container, if you really need, go to the runner VM and do:
50
+ ##
51
+ ## ./launcher enter app
52
+ ##
53
+ #run:
54
+ # - exec: echo "Beginning of custom commands"
55
+ # - exec: ssh-import-id gh:renoirb
56
+ # - exec: echo "End of custom commands"
57
+ # - exec: awk -F\# '{print $1;}' ~/.ssh/authorized_keys | awk 'BEGIN { print "Authorized SSH keys for this container:"; } NF>=2 {print $NF;}'
55
58
Original file line number Diff line number Diff line change @@ -64,7 +64,6 @@ server {
64
64
# Use internal Docker runner instance exposed port
65
65
location / {
66
66
proxy_pass http://upstream_discourse;
67
- include proxy_params;
68
67
proxy_intercept_errors on;
69
68
70
69
# Backend keepalive
You can’t perform that action at this time.
0 commit comments