diff --git a/docker-compose.test.yml b/docker-compose.test.yml index 0120dc6..bcad469 100644 --- a/docker-compose.test.yml +++ b/docker-compose.test.yml @@ -8,7 +8,7 @@ services: ports: - "8081:8081" environment: - - DB_HOST=localhost + - DB_HOST=host.docker.internal - DB_PORT=5432 - DB_NAME=calejo - DB_USER=calejo @@ -21,6 +21,8 @@ services: - REST_API_PORT=8081 - HEALTH_MONITOR_PORT=9091 - LOG_LEVEL=DEBUG + extra_hosts: + - "host.docker.internal:host-gateway" volumes: - ./static:/app/static - ./logs:/app/logs