From 07b44becd8fddc4a21e48b63da147cebca9049a4 Mon Sep 17 00:00:00 2001 From: markliu2013 Date: Fri, 11 Aug 2023 17:22:18 +0800 Subject: [PATCH] save --- api-no-mysql.env | 6 ++++++ docker-compose-ali-no-mysql.yml | 2 +- docker-compose-hub-no-mysql.yml | 2 +- docker-compose-no-mysql.yml | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 api-no-mysql.env diff --git a/api-no-mysql.env b/api-no-mysql.env new file mode 100644 index 0000000..c8aacb5 --- /dev/null +++ b/api-no-mysql.env @@ -0,0 +1,6 @@ +DB_HOST=host.docker.internal +DB_PORT=3306 +DB_NAME=moneywhere +DB_USER=root +DB_PASSWORD=NWPkVrO2 +invite_code=111111 \ No newline at end of file diff --git a/docker-compose-ali-no-mysql.yml b/docker-compose-ali-no-mysql.yml index b0efe0d..6d54ba9 100644 --- a/docker-compose-ali-no-mysql.yml +++ b/docker-compose-ali-no-mysql.yml @@ -5,7 +5,7 @@ services: image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-api-user:latest extra_hosts: - "host.docker.internal:host-gateway" - env_file: api.env + env_file: api-no-mysql.env moneywhere-fe-user: links: diff --git a/docker-compose-hub-no-mysql.yml b/docker-compose-hub-no-mysql.yml index f98fcad..389a268 100644 --- a/docker-compose-hub-no-mysql.yml +++ b/docker-compose-hub-no-mysql.yml @@ -5,7 +5,7 @@ services: image: markliu2018/moneywhere-api-user:latest extra_hosts: - "host.docker.internal:host-gateway" - env_file: api.env + env_file: api-no-mysql.env moneywhere-fe-user: links: diff --git a/docker-compose-no-mysql.yml b/docker-compose-no-mysql.yml index f98fcad..389a268 100644 --- a/docker-compose-no-mysql.yml +++ b/docker-compose-no-mysql.yml @@ -5,7 +5,7 @@ services: image: markliu2018/moneywhere-api-user:latest extra_hosts: - "host.docker.internal:host-gateway" - env_file: api.env + env_file: api-no-mysql.env moneywhere-fe-user: links: