mirror of
https://gitee.com/markliu2013/docker-compose-moneynote.git
synced 2024-11-17 12:48:03 +08:00
save
This commit is contained in:
parent
0ceabdc7a4
commit
e519583d28
@ -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
|
||||
```
|
||||
|
||||
版本升级,使用最新镜像。
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
BIN
struct.png
BIN
struct.png
Binary file not shown.
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 69 KiB |
Loading…
Reference in New Issue
Block a user