From ad18449d4fcfe202cb788ab5476fe1141c00d829 2022-12-06 12:10:27 From: RhodeCode Admin Date: 2022-12-06 12:10:27 Subject: [PATCH] compose: expose host network to access for external DB --- diff --git a/docker-compose-apps.yaml b/docker-compose-apps.yaml index 5ffa445..22baa9a 100644 --- a/docker-compose-apps.yaml +++ b/docker-compose-apps.yaml @@ -17,6 +17,8 @@ services: rhodecode: networks: - rhodecode_network + extra_hosts: + - "host.docker.internal:host-gateway" image: rhodecode/rhodecode-${RC_EDITION}:${RC_VERSION:-4.28.0} stdin_open: true tty: true @@ -97,6 +99,8 @@ services: vcsserver: networks: - rhodecode_network + extra_hosts: + - "host.docker.internal:host-gateway" image: rhodecode/rhodecode-${RC_EDITION}:${RC_VERSION:-4.28.0} stdin_open: true @@ -145,6 +149,8 @@ services: celery: networks: - rhodecode_network + extra_hosts: + - "host.docker.internal:host-gateway" image: rhodecode/rhodecode-${RC_EDITION}:${RC_VERSION:-4.28.0} stdin_open: true @@ -189,6 +195,8 @@ services: # This service is not scalable networks: - rhodecode_network + extra_hosts: + - "host.docker.internal:host-gateway" image: rhodecode/rhodecode-${RC_EDITION}:${RC_VERSION:-4.28.0} stdin_open: true @@ -231,6 +239,8 @@ services: svn: networks: - rhodecode_network + extra_hosts: + - "host.docker.internal:host-gateway" image: rhodecode/rhodecode-${RC_EDITION}:${RC_VERSION:-4.28.0} # build: @@ -272,6 +282,8 @@ services: sshd: networks: - rhodecode_network + extra_hosts: + - "host.docker.internal:host-gateway" image: rhodecode/rhodecode-${RC_EDITION}:${RC_VERSION:-4.28.0} stdin_open: true