Clarified docker-compose in readme
This commit is contained in:
parent
c85b154bcf
commit
20c6d9c54d
11
README.md
11
README.md
|
@ -52,6 +52,7 @@ The Engelsystem can now be used.
|
||||||
* Both Apache and Nginx allow for different VirtualHost configurations.
|
* Both Apache and Nginx allow for different VirtualHost configurations.
|
||||||
|
|
||||||
### Docker
|
### Docker
|
||||||
|
#### Build
|
||||||
To build the `es_nginx` and the `es_php_fpm` containers:
|
To build the `es_nginx` and the `es_php_fpm` containers:
|
||||||
```bash
|
```bash
|
||||||
cd docker
|
cd docker
|
||||||
|
@ -64,7 +65,15 @@ docker build -f docker/nginx/Dockerfile . -t es_nginx
|
||||||
docker build -f docker/Dockerfile . -t es_php_fpm
|
docker build -f docker/Dockerfile . -t es_php_fpm
|
||||||
```
|
```
|
||||||
|
|
||||||
Import database
|
#### Run
|
||||||
|
Start the Engelsystem
|
||||||
|
```bash
|
||||||
|
cd docker
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Migrate
|
||||||
|
Import database changes to migrate it to the newest version
|
||||||
```bash
|
```bash
|
||||||
docker exec -it engelsystem_es_php_fpm_1 bin/migrate
|
docker exec -it engelsystem_es_php_fpm_1 bin/migrate
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue