Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lao9s committed Mar 6, 2023
1 parent c45eef9 commit 35ca0d9
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,18 @@ See image on [docker hub](https://hub.docker.com/r/inovector/mixpost). There are
## Build Docker Image
You can create a docker image that will have all server configurations and start the containers.

Download the latest version of Mixpost Lite from [here](https://github.com/inovector/MixpostApp/releases), copy .env.example to `.env`, and fill in all the necessary values.
Download the latest version of Mixpost Lite from [here](https://github.com/inovector/MixpostApp/releases), copy .env.example to `.env`, and fill in all the necessary values:
```env
DB_HOST=127.0.0.1
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
```

**Important**: the `DB_HOST` must be `mysql` and `REDIS_HOST` must be `redis`.

*Attention! If you have already installed the project with composer `composer create-project inovector/MixpostApp`, you can avoid step **3** below.*

Expand All @@ -156,7 +167,6 @@ This binary will help you to avoid the long command `docker-compose exec -it -u
./docker/mixpost php artisan key:generate
./docker/mixpost php artisan mixpost:setup-gitignore
./docker/mixpost php artisan queue:batches-table
./docker/mixpost php artisan mixpost:publish
./docker/mixpost php artisan storage:link
```

Expand Down

0 comments on commit 35ca0d9

Please sign in to comment.