mirror of
https://gitee.com/markliu2013/docker-compose-moneynote.git
synced 2024-11-17 20:58:02 +08:00
83 lines
2.2 KiB
Plaintext
83 lines
2.2 KiB
Plaintext
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 -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 -f docker-compose-all-hub.yml up -d
|
|
```
|
|
|
|
docker 3 in 1 hub 启动
|
|
```sh
|
|
docker compose -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 -f docker-compose-all-no-mysql-hub.yml up -d
|
|
```
|
|
|
|
|
|
阿里云 docker 5 in 1 启动
|
|
```sh
|
|
docker compose -f docker-compose-all-ali.yml up -d
|
|
```
|
|
|
|
阿里云 docker 5 in 1 升级
|
|
```sh
|
|
docker compose -f docker-compose-all-ali.yml pull && docker compose -f docker-compose-all-ali.yml up -d
|
|
```
|
|
|
|
阿里云 docker 3 in 1 启动
|
|
```sh
|
|
docker compose -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 -f docker-compose-all-no-mysql-ali.yml up -d
|
|
```
|
|
|
|
78p7gkc1
|
|
ALTER USER 'root'@'%' IDENTIFIED BY '111111'; |