Difference between #22 and #23 of
Yii3 - How to start

Revision #23 has been created by samdark samdark on Oct 9, 2025, 12:01:50 PM with the memo:

Highlighting for yaml
« previous (#22) next (#24) »

Changes

Title unchanged

Yii3 - How to start

Category unchanged

Tutorials

Yii version unchanged

3.0

Tags unchanged

Content changed

[...]
Your project now does not contain any DB. Let's add MariaDB and Adminer (DB browser) into file docker/dev/compose.yml:

In my case the resulting file looks like this:

```
yaml
services:
app:
[...]
So you need to run following commands:

 
```sh
 
composer require yiisoft/db-mysql composer require yiisoft/cache composer require yiisoft/db-migration --dev  
```


To run composer (or any other command inside your dockerized yii3 application) you have 4 options:
- Make:
The best solution is to prepend the composer commands with "make".
[...]
1 0
2 followers
Viewed: 576 times
Version: 3.0
Category: Tutorials
Tags:
Written by: rackycz rackycz
Last updated by: rackycz rackycz
Created on: Oct 8, 2025
Last updated: 2 days ago
Update Article

Revisions

View all history