Update doc
This commit is contained in:
parent
87cdedf2f1
commit
506c156b49
15
README.md
15
README.md
@ -28,13 +28,14 @@ We hope you have define a workspace path
|
||||
Linux: ```/home/<user>/workspace```
|
||||
Windows: ```C:\<user>\worspace```
|
||||
|
||||
Always go in `<workspace>/devcontainer` to execute docker-compose file.
|
||||
Always go in `<workspace>/devcontainer` to execute docker-compose command.
|
||||
|
||||
## Launch services (first time build)
|
||||
```bash
|
||||
docker-compose up -d
|
||||
```
|
||||
Delete service : `docker-compose rm`
|
||||
Delete service : `docker-compose rm <container_name>`
|
||||
Prune all: `docker-compose down`
|
||||
|
||||
## Start and stop
|
||||
`docker-compose start`
|
||||
@ -66,14 +67,20 @@ docker-compose exec <container_name>
|
||||
```
|
||||
|
||||
## Database
|
||||
Database files are store in <workspace>/database.
|
||||
Even if you delete your
|
||||
Database files are store in `<workspace>/database`.
|
||||
Even if you delete your container date are preserved.
|
||||
|
||||
|
||||
## HTTPd
|
||||
|
||||
|
||||
|
||||
# Additional
|
||||
## Ip Address
|
||||
See all ip addresses in one command
|
||||
`docker inspect --format='{{.Name}} - {{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aq)`
|
||||
|
||||
|
||||
## ctop
|
||||
Get ctop on [github](https://github.com/bcicen/ctop)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user