Update readme
This commit is contained in:
parent
e8447c2f7f
commit
a6e65237fa
25
README.md
25
README.md
@ -3,25 +3,30 @@
|
||||
## Deployment
|
||||
|
||||
1. Clone repository
|
||||
|
||||
```bash
|
||||
git clone ssh://git@gitplac.si:8800/KomelT/cloudlog.git
|
||||
git clone https://git.s5ham.net/komelt/cloudlog-docker.git
|
||||
```
|
||||
|
||||
2. Update FS permisions
|
||||
```bash
|
||||
sudo chmod -R 777 ./config
|
||||
```
|
||||
2. Change credentials
|
||||
|
||||
3. Change credentials
|
||||
1. `docker-compose.yaml` for `MYSQL_PASSWORD` and `MYSQL_ROOT_PASSWORD`
|
||||
2. `./config/database.php` for `password` which is same like `MYSQL_PASSWORD`
|
||||
1. `cp .env.sample .env`
|
||||
2. Change env `nano .env`
|
||||
|
||||
3. Look for latest version
|
||||
|
||||
1. On release page [https://github.com/magicbug/Cloudlog/releases](https://github.com/magicbug/Cloudlog/releases), look for latest Cloudlog version.
|
||||
2. Edit `dockerfile` line `ARG CLOUDLOG_VERSION="..."` with latest version.
|
||||
3. Also edit `docker-compose.yaml` line `image: cloudlog:...` with latest version.
|
||||
|
||||
4. Build
|
||||
|
||||
```bash
|
||||
sudo docker build --pull --rm -f "dockerfile" -t cloudlog:2.6.7 "."
|
||||
sudo docker build --pull --rm -f "dockerfile" -t cloudlog:${LATEST_CLOUDLOG_VERSION} "."
|
||||
```
|
||||
|
||||
5. Start
|
||||
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user