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 compose -f docker-compose-no-mysql.yml up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
默认使用Docker Hub官方网站镜像,中国大陆可能出现无法拉去镜像,可尝试使用阿里云镜像。项目运行后,本身不依赖任何外部第三方服务。
|
||||||
默认使用阿里云镜像,适合运行在中国大陆的服务器,如果服务器在境外,推荐使用docker hub镜像:
|
|
||||||
|
|
||||||
```sh
|
```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:
|
services:
|
||||||
moneywhere-api-user:
|
moneywhere-api-user:
|
||||||
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/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-no-mysql.env
|
env_file: api-no-mysql.env
|
||||||
@ -12,7 +12,7 @@ services:
|
|||||||
moneywhere-fe-user:
|
moneywhere-fe-user:
|
||||||
links:
|
links:
|
||||||
- moneywhere-api-user
|
- moneywhere-api-user
|
||||||
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user:latest
|
image: markliu2018/moneywhere-fe-user:latest
|
||||||
environment:
|
environment:
|
||||||
USER_API_HOST: http://moneywhere-api-user:9092
|
USER_API_HOST: http://moneywhere-api-user:9092
|
||||||
ports:
|
ports:
|
||||||
@ -21,7 +21,7 @@ services:
|
|||||||
moneywhere-fe-user-mobile:
|
moneywhere-fe-user-mobile:
|
||||||
links:
|
links:
|
||||||
- moneywhere-api-user
|
- moneywhere-api-user
|
||||||
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user-mobile:latest
|
image: markliu2018/moneywhere-fe-user-mobile:latest
|
||||||
environment:
|
environment:
|
||||||
USER_API_HOST: http://moneywhere-api-user:9092
|
USER_API_HOST: http://moneywhere-api-user:9092
|
||||||
ports:
|
ports:
|
||||||
|
@ -2,7 +2,7 @@ version: '3'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
mysql:
|
mysql:
|
||||||
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/mysql:5.7
|
image: mysql:5.7
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ROOT_PASSWORD: 111111
|
MYSQL_ROOT_PASSWORD: 111111
|
||||||
@ -19,7 +19,7 @@ services:
|
|||||||
- "43740:3306"
|
- "43740:3306"
|
||||||
|
|
||||||
phpmyadmin:
|
phpmyadmin:
|
||||||
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/phpmyadmin:latest
|
image: phpmyadmin/phpmyadmin
|
||||||
links:
|
links:
|
||||||
- mysql
|
- mysql
|
||||||
environment:
|
environment:
|
||||||
@ -31,7 +31,7 @@ services:
|
|||||||
moneywhere-api-user:
|
moneywhere-api-user:
|
||||||
links:
|
links:
|
||||||
- mysql
|
- mysql
|
||||||
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-api-user:latest
|
image: markliu2018/moneywhere-api-user:latest
|
||||||
env_file: api.env
|
env_file: api.env
|
||||||
ports:
|
ports:
|
||||||
- "43742:9092"
|
- "43742:9092"
|
||||||
@ -39,7 +39,7 @@ services:
|
|||||||
moneywhere-fe-user:
|
moneywhere-fe-user:
|
||||||
links:
|
links:
|
||||||
- moneywhere-api-user
|
- moneywhere-api-user
|
||||||
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user:latest
|
image: markliu2018/moneywhere-fe-user:latest
|
||||||
environment:
|
environment:
|
||||||
USER_API_HOST: http://moneywhere-api-user:9092
|
USER_API_HOST: http://moneywhere-api-user:9092
|
||||||
ports:
|
ports:
|
||||||
@ -48,7 +48,7 @@ services:
|
|||||||
moneywhere-fe-user-mobile:
|
moneywhere-fe-user-mobile:
|
||||||
links:
|
links:
|
||||||
- moneywhere-api-user
|
- moneywhere-api-user
|
||||||
image: registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-fe-user-mobile:latest
|
image: markliu2018/moneywhere-fe-user-mobile:latest
|
||||||
environment:
|
environment:
|
||||||
USER_API_HOST: http://moneywhere-api-user:9092
|
USER_API_HOST: http://moneywhere-api-user:9092
|
||||||
ports:
|
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