diff --git a/docker-compose-ali-no-mysql.yml b/docker-compose-ali-no-mysql.yml index 41c2d66..b0efe0d 100644 --- a/docker-compose-ali-no-mysql.yml +++ b/docker-compose-ali-no-mysql.yml @@ -3,6 +3,8 @@ version: '3.0' services: moneywhere-api-user: image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-api-user:latest + extra_hosts: + - "host.docker.internal:host-gateway" env_file: api.env moneywhere-fe-user: diff --git a/docker-compose-hub-no-mysql.yml b/docker-compose-hub-no-mysql.yml index 79b296f..f98fcad 100644 --- a/docker-compose-hub-no-mysql.yml +++ b/docker-compose-hub-no-mysql.yml @@ -3,6 +3,8 @@ version: '3.0' services: moneywhere-api-user: image: markliu2018/moneywhere-api-user:latest + extra_hosts: + - "host.docker.internal:host-gateway" env_file: api.env moneywhere-fe-user: diff --git a/docker-compose-no-mysql.yml b/docker-compose-no-mysql.yml index 79b296f..f98fcad 100644 --- a/docker-compose-no-mysql.yml +++ b/docker-compose-no-mysql.yml @@ -3,6 +3,8 @@ version: '3.0' services: moneywhere-api-user: image: markliu2018/moneywhere-api-user:latest + extra_hosts: + - "host.docker.internal:host-gateway" env_file: api.env moneywhere-fe-user: