This commit is contained in:
markliu2013 2023-08-11 17:22:18 +08:00
parent 9ea90ba634
commit 07b44becd8
4 changed files with 9 additions and 3 deletions

6
api-no-mysql.env Normal file
View File

@ -0,0 +1,6 @@
DB_HOST=host.docker.internal
DB_PORT=3306
DB_NAME=moneywhere
DB_USER=root
DB_PASSWORD=NWPkVrO2
invite_code=111111

View File

@ -5,7 +5,7 @@ services:
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-api-user:latest image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-api-user:latest
extra_hosts: extra_hosts:
- "host.docker.internal:host-gateway" - "host.docker.internal:host-gateway"
env_file: api.env env_file: api-no-mysql.env
moneywhere-fe-user: moneywhere-fe-user:
links: links:

View File

@ -5,7 +5,7 @@ services:
image: markliu2018/moneywhere-api-user:latest image: markliu2018/moneywhere-api-user:latest
extra_hosts: extra_hosts:
- "host.docker.internal:host-gateway" - "host.docker.internal:host-gateway"
env_file: api.env env_file: api-no-mysql.env
moneywhere-fe-user: moneywhere-fe-user:
links: links:

View File

@ -5,7 +5,7 @@ services:
image: markliu2018/moneywhere-api-user:latest image: markliu2018/moneywhere-api-user:latest
extra_hosts: extra_hosts:
- "host.docker.internal:host-gateway" - "host.docker.internal:host-gateway"
env_file: api.env env_file: api-no-mysql.env
moneywhere-fe-user: moneywhere-fe-user:
links: links: