feat: Add extra_hosts configuration to docker-compose.dev.yml (#2635)

# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):

Co-authored-by: Stan Girard <stan@quivr.app>
This commit is contained in:
Stan Girard 2024-06-05 22:51:18 +02:00 committed by GitHub
parent e2f25cf1c9
commit 6ea4a4513b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,6 +3,8 @@ version: "3.8"
services:
backend-core:
image: backend-base:latest
extra_hosts:
- "host.docker.internal:host-gateway"
pull_policy: never
env_file:
- .env
@ -37,6 +39,8 @@ services:
redis:
image: redis:latest
container_name: redis
extra_hosts:
- "host.docker.internal:host-gateway"
restart: always
ports:
- 6379:6379
@ -44,6 +48,8 @@ services:
worker:
pull_policy: never
image: backend-base:latest
extra_hosts:
- "host.docker.internal:host-gateway"
env_file:
- .env
container_name: worker
@ -57,6 +63,8 @@ services:
beat:
image: backend-base:latest
pull_policy: never
extra_hosts:
- "host.docker.internal:host-gateway"
env_file:
- .env
@ -69,6 +77,8 @@ services:
flower:
image: backend-base:latest
pull_policy: never
extra_hosts:
- "host.docker.internal:host-gateway"
env_file:
- .env