mirror of
https://gitee.com/markliu2013/docker-compose-moneynote.git
synced 2024-11-17 20:58:02 +08:00
save
This commit is contained in:
parent
853163b06f
commit
ca843d0eaa
@ -115,6 +115,7 @@ phpMyAdmin登录的信息请对照api.env配置文件填写。请定期使用php
|
|||||||
|
|
||||||
|
|
||||||
#### docker命令说明
|
#### docker命令说明
|
||||||
|
|
||||||
docker hub with mysql 启动
|
docker hub with mysql 启动
|
||||||
```sh
|
```sh
|
||||||
docker compose --env-file api.env -f docker-compose-hub.yml up -d
|
docker compose --env-file api.env -f docker-compose-hub.yml up -d
|
||||||
@ -192,9 +193,10 @@ docker compose --env-file api-no-mysql.env -f docker-compose-all-no-mysql-ali.ym
|
|||||||
|
|
||||||
阿里云 docker 3 in 1 升级
|
阿里云 docker 3 in 1 升级
|
||||||
```sh
|
```sh
|
||||||
docker compose -f docker-compose-all-ali.yml pull && docker compose --env-file api-no-mysql.env -f docker-compose-all-no-mysql-ali.yml up -d
|
docker compose -f docker-compose-all-no-mysql-ali.yml pull && docker compose --env-file api-no-mysql.env -f docker-compose-all-no-mysql-ali.yml up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## QA
|
## QA
|
||||||
1. 很多人安装遇到数据库的问题,有可能是之前安装过,有数据文件,且自己修改过root密码。 使用 docker volume ls 命令查看有没有moneywhere_mysql_data文件,如果有,可以自己修改为另外的数据文件,或者删除moneywhere_mysql_data
|
1. 很多人安装遇到数据库的问题,有可能是之前安装过,有数据文件,且自己修改过root密码。 使用 docker volume ls 命令查看有没有moneywhere_mysql_data文件,如果有,可以自己修改为另外的数据文件,或者删除moneywhere_mysql_data
|
||||||
|
|
||||||
|
81
notes.txt
81
notes.txt
@ -1,83 +1,2 @@
|
|||||||
docker hub with mysql 启动
|
|
||||||
```sh
|
|
||||||
docker compose --env-file api.env -f docker-compose-hub.yml up -d
|
|
||||||
```
|
|
||||||
|
|
||||||
docker hub with mysql 升级
|
|
||||||
```sh
|
|
||||||
docker compose --env-file api.env -f docker-compose-hub.yml pull && docker compose --env-file api.env -f docker-compose-hub.yml up -d
|
|
||||||
```
|
|
||||||
|
|
||||||
docker hub no mysql 启动
|
|
||||||
```sh
|
|
||||||
docker compose --env-file api-no-mysql.env -f docker-compose-hub-no-mysql.yml up -d
|
|
||||||
```
|
|
||||||
|
|
||||||
docker hub no mysql 升级
|
|
||||||
```sh
|
|
||||||
docker compose --env-file api-no-mysql.env -f docker-compose-hub-no-mysql.yml pull && docker compose --env-file api-no-mysql.env -f docker-compose-hub-no-mysql.yml up -d
|
|
||||||
```
|
|
||||||
|
|
||||||
阿里云 with mysql 启动
|
|
||||||
```sh
|
|
||||||
docker compose --env-file api.env -f docker-compose-ali.yml up -d
|
|
||||||
```
|
|
||||||
|
|
||||||
阿里云 with mysql 升级
|
|
||||||
```sh
|
|
||||||
docker compose --env-file api.env -f docker-compose-ali.yml pull && docker compose --env-file api.env -f docker-compose-ali.yml up -d
|
|
||||||
```
|
|
||||||
|
|
||||||
阿里云 no mysql 启动
|
|
||||||
```sh
|
|
||||||
docker-compose --env-file api-no-mysql.env -f docker-compose-ali-no-mysql.yml up -d
|
|
||||||
```
|
|
||||||
|
|
||||||
阿里云 no mysql 升级
|
|
||||||
```sh
|
|
||||||
docker compose --env-file api-no-mysql.env -f docker-compose-ali-no-mysql.yml pull && docker-compose --env-file api-no-mysql.env -f docker-compose-ali-no-mysql.yml up -d
|
|
||||||
```
|
|
||||||
|
|
||||||
docker 5 in 1 hub 启动
|
|
||||||
```sh
|
|
||||||
docker compose --env-file api.env -f docker-compose-all-hub.yml up -d
|
|
||||||
```
|
|
||||||
|
|
||||||
docker 5 in 1 hub 升级
|
|
||||||
```sh
|
|
||||||
docker compose -f docker-compose-all-hub.yml pull && docker compose --env-file api.env -f docker-compose-all-hub.yml up -d
|
|
||||||
```
|
|
||||||
|
|
||||||
docker 3 in 1 hub 启动
|
|
||||||
```sh
|
|
||||||
docker compose --env-file api-no-mysql.env -f docker-compose-all-no-mysql-hub.yml up -d
|
|
||||||
```
|
|
||||||
|
|
||||||
docker 3 in 1 hub 升级
|
|
||||||
```sh
|
|
||||||
docker compose -f docker-compose-all-hub.yml pull && docker compose --env-file api-no-mysql.env -f docker-compose-all-no-mysql-hub.yml up -d
|
|
||||||
```
|
|
||||||
|
|
||||||
阿里云 docker 5 in 1 启动
|
|
||||||
```sh
|
|
||||||
docker compose --env-file api.env -f docker-compose-all-ali.yml up -d
|
|
||||||
```
|
|
||||||
|
|
||||||
阿里云 docker 5 in 1 升级
|
|
||||||
```sh
|
|
||||||
docker compose -f docker-compose-all-ali.yml pull && docker compose --env-file api.env -f docker-compose-all-ali.yml up -d
|
|
||||||
```
|
|
||||||
|
|
||||||
阿里云 docker 3 in 1 启动
|
|
||||||
```sh
|
|
||||||
docker compose --env-file api-no-mysql.env -f docker-compose-all-no-mysql-ali.yml up -d
|
|
||||||
```
|
|
||||||
|
|
||||||
阿里云 docker 3 in 1 升级
|
|
||||||
```sh
|
|
||||||
docker compose -f docker-compose-all-ali.yml pull && docker compose --env-file api-no-mysql.env -f docker-compose-all-no-mysql-ali.yml up -d
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
78p7gkc1
|
78p7gkc1
|
||||||
ALTER USER 'root'@'%' IDENTIFIED BY '111111';
|
ALTER USER 'root'@'%' IDENTIFIED BY '111111';
|
Loading…
Reference in New Issue
Block a user