added some warning about makefile in readme
This commit is contained in:
parent
5c7980d40c
commit
80d2f170dd
@ -113,6 +113,9 @@ once inside the mysql container you can use mysql command to drop then create an
|
|||||||
|
|
||||||
## Makefile
|
## Makefile
|
||||||
|
|
||||||
|
do not use directly docker or docker-compose to run this instance
|
||||||
|
use make instead like ```make up```
|
||||||
|
|
||||||
```makefile
|
```makefile
|
||||||
build:
|
build:
|
||||||
docker-compose build --build-arg USER_UID=$(USER_UID) --build-arg USER_UNAME=$(USER_UNAME) --build-arg USER_GID=$(USER_GID) --build-arg USER_GNAME=$(USER_GNAME)
|
docker-compose build --build-arg USER_UID=$(USER_UID) --build-arg USER_UNAME=$(USER_UNAME) --build-arg USER_GID=$(USER_GID) --build-arg USER_GNAME=$(USER_GNAME)
|
||||||
@ -126,6 +129,12 @@ up:
|
|||||||
upbuild:
|
upbuild:
|
||||||
docker-compose up -d --build
|
docker-compose up -d --build
|
||||||
|
|
||||||
|
ps:
|
||||||
|
docker-compose ps
|
||||||
|
|
||||||
|
logs:
|
||||||
|
docker-compose logs -f
|
||||||
|
|
||||||
down:
|
down:
|
||||||
docker-compose down
|
docker-compose down
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user