diff --git a/README.md b/README.md index 4a3aa71..915dd81 100644 --- a/README.md +++ b/README.md @@ -27,11 +27,10 @@ docker compose up -d docker compose -f docker-compose-no-mysql.yml up -d ``` - -默认使用阿里云镜像,适合运行在中国大陆的服务器,如果服务器在境外,推荐使用docker hub镜像: +默认使用Docker Hub官方网站镜像,中国大陆可能出现无法拉去镜像,可尝试使用阿里云镜像。项目运行后,本身不依赖任何外部第三方服务。 ```sh -docker compose -f docker-compose-hub.yml up -d +docker compose -f docker-compose-ali.yml up -d ``` 版本升级,使用最新镜像。 diff --git a/docker-compose-no-mysql.yml b/docker-compose-no-mysql.yml index 4fba482..65771a5 100644 --- a/docker-compose-no-mysql.yml +++ b/docker-compose-no-mysql.yml @@ -1,8 +1,8 @@ -version: '3' +version: '2.1' services: moneywhere-api-user: - image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-api-user:latest + image: markliu2018/moneywhere-api-user:latest extra_hosts: - "host.docker.internal:host-gateway" env_file: api-no-mysql.env @@ -12,7 +12,7 @@ services: moneywhere-fe-user: links: - moneywhere-api-user - image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user:latest + image: markliu2018/moneywhere-fe-user:latest environment: USER_API_HOST: http://moneywhere-api-user:9092 ports: @@ -21,7 +21,7 @@ services: moneywhere-fe-user-mobile: links: - moneywhere-api-user - image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user-mobile:latest + image: markliu2018/moneywhere-fe-user-mobile:latest environment: USER_API_HOST: http://moneywhere-api-user:9092 ports: diff --git a/docker-compose.yml b/docker-compose.yml index 87299f6..533f406 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '3' services: mysql: - image: registry.cn-hangzhou.aliyuncs.com/moneywhere/mysql:5.7 + image: mysql:5.7 restart: always environment: MYSQL_ROOT_PASSWORD: 111111 @@ -19,7 +19,7 @@ services: - "43740:3306" phpmyadmin: - image: registry.cn-hangzhou.aliyuncs.com/moneywhere/phpmyadmin:latest + image: phpmyadmin/phpmyadmin links: - mysql environment: @@ -31,7 +31,7 @@ services: moneywhere-api-user: links: - mysql - image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-api-user:latest + image: markliu2018/moneywhere-api-user:latest env_file: api.env ports: - "43742:9092" @@ -39,7 +39,7 @@ services: moneywhere-fe-user: links: - moneywhere-api-user - image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user:latest + image: markliu2018/moneywhere-fe-user:latest environment: USER_API_HOST: http://moneywhere-api-user:9092 ports: @@ -48,7 +48,7 @@ services: moneywhere-fe-user-mobile: links: - moneywhere-api-user - image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user-mobile:latest + image: markliu2018/moneywhere-fe-user-mobile:latest environment: USER_API_HOST: http://moneywhere-api-user:9092 ports: diff --git a/struct.png b/struct.png index c95db21..0340b3c 100644 Binary files a/struct.png and b/struct.png differ