https://github.com/solidzoro/drr
🌈 Auto Deployment Multiple Node.js App in Docker Lab.
https://github.com/solidzoro/drr
Last synced: 10 months ago
JSON representation
🌈 Auto Deployment Multiple Node.js App in Docker Lab.
- Host: GitHub
- URL: https://github.com/solidzoro/drr
- Owner: SolidZORO
- Created: 2020-06-07T15:45:03.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-07-06T12:11:30.000Z (almost 4 years ago)
- Last Synced: 2025-02-10T05:42:42.112Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 441 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### 🌈
Auto Deployment Multiple Node.js App in Docker Lab.
## Usage
### up & down & reboot
```bash
sh ./up.sh mysql # or nginx, redis, mysql
```
```bash
sh ./down.sh mysql # or nginx, redis, mysql
```
```bash
sh ./reboot.sh mysql # or nginx, redis, mysql
```
### reload nginx vhost
```bash
sh ./reload-nginx.sh
```
## Tips
### bach
if `sh ./xxx.sh` get error `Syntax error: redirection unexpected`, you can try `bash ./xxx.sh`.
### mysql
After init DB, You can set User Permissions and Create Table
`GRANT ALL PRIVILEGES ON *.* TO 'www-root'@'%'; FLUSH PRIVILEGES;`
### adminer
⚠️ if adminer not work, you can try PMA
Server input box Please input `service_name`, NOT `container_name`
In order to avoid confusion between the `prod` and `dev` env, the `dynamic-title-info` plugin is enabled by default, and the plugin is located in `./var/www/html/plugins`.
