Update readme
This commit is contained in:
parent
e8447c2f7f
commit
a6e65237fa
23
README.md
23
README.md
@ -3,25 +3,30 @@
|
|||||||
## Deployment
|
## Deployment
|
||||||
|
|
||||||
1. Clone repository
|
1. Clone repository
|
||||||
|
|
||||||
```bash
|
```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
|
2. Change credentials
|
||||||
```bash
|
|
||||||
sudo chmod -R 777 ./config
|
|
||||||
```
|
|
||||||
|
|
||||||
3. Change credentials
|
1. `cp .env.sample .env`
|
||||||
1. `docker-compose.yaml` for `MYSQL_PASSWORD` and `MYSQL_ROOT_PASSWORD`
|
2. Change env `nano .env`
|
||||||
2. `./config/database.php` for `password` which is same like `MYSQL_PASSWORD`
|
|
||||||
|
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
|
4. Build
|
||||||
|
|
||||||
```bash
|
```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
|
5. Start
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
Loading…
x
Reference in New Issue
Block a user