This commit is contained in:
markliu2013 2024-01-19 19:51:27 +08:00
parent 0ceabdc7a4
commit e519583d28
4 changed files with 11 additions and 12 deletions

View File

@ -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
```
版本升级,使用最新镜像。

View File

@ -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:

View File

@ -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:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 69 KiB