##// END OF EJS Templates
compose: expose host network to access for external DB
super-admin -
Show More
@@ -17,6 +17,8 b' services:'
17 rhodecode:
17 rhodecode:
18 networks:
18 networks:
19 - rhodecode_network
19 - rhodecode_network
20 extra_hosts:
21 - "host.docker.internal:host-gateway"
20 image: rhodecode/rhodecode-${RC_EDITION}:${RC_VERSION:-4.28.0}
22 image: rhodecode/rhodecode-${RC_EDITION}:${RC_VERSION:-4.28.0}
21 stdin_open: true
23 stdin_open: true
22 tty: true
24 tty: true
@@ -97,6 +99,8 b' services:'
97 vcsserver:
99 vcsserver:
98 networks:
100 networks:
99 - rhodecode_network
101 - rhodecode_network
102 extra_hosts:
103 - "host.docker.internal:host-gateway"
100 image: rhodecode/rhodecode-${RC_EDITION}:${RC_VERSION:-4.28.0}
104 image: rhodecode/rhodecode-${RC_EDITION}:${RC_VERSION:-4.28.0}
101
105
102 stdin_open: true
106 stdin_open: true
@@ -145,6 +149,8 b' services:'
145 celery:
149 celery:
146 networks:
150 networks:
147 - rhodecode_network
151 - rhodecode_network
152 extra_hosts:
153 - "host.docker.internal:host-gateway"
148 image: rhodecode/rhodecode-${RC_EDITION}:${RC_VERSION:-4.28.0}
154 image: rhodecode/rhodecode-${RC_EDITION}:${RC_VERSION:-4.28.0}
149
155
150 stdin_open: true
156 stdin_open: true
@@ -189,6 +195,8 b' services:'
189 # This service is not scalable
195 # This service is not scalable
190 networks:
196 networks:
191 - rhodecode_network
197 - rhodecode_network
198 extra_hosts:
199 - "host.docker.internal:host-gateway"
192 image: rhodecode/rhodecode-${RC_EDITION}:${RC_VERSION:-4.28.0}
200 image: rhodecode/rhodecode-${RC_EDITION}:${RC_VERSION:-4.28.0}
193
201
194 stdin_open: true
202 stdin_open: true
@@ -231,6 +239,8 b' services:'
231 svn:
239 svn:
232 networks:
240 networks:
233 - rhodecode_network
241 - rhodecode_network
242 extra_hosts:
243 - "host.docker.internal:host-gateway"
234 image: rhodecode/rhodecode-${RC_EDITION}:${RC_VERSION:-4.28.0}
244 image: rhodecode/rhodecode-${RC_EDITION}:${RC_VERSION:-4.28.0}
235
245
236 # build:
246 # build:
@@ -272,6 +282,8 b' services:'
272 sshd:
282 sshd:
273 networks:
283 networks:
274 - rhodecode_network
284 - rhodecode_network
285 extra_hosts:
286 - "host.docker.internal:host-gateway"
275 image: rhodecode/rhodecode-${RC_EDITION}:${RC_VERSION:-4.28.0}
287 image: rhodecode/rhodecode-${RC_EDITION}:${RC_VERSION:-4.28.0}
276
288
277 stdin_open: true
289 stdin_open: true
General Comments 0
You need to be logged in to leave comments. Login now