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