Clarified docker-compose in readme

main
Igor Scheller 4 years ago committed by GitHub
parent c85b154bcf
commit 20c6d9c54d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save