From 20c6d9c54d0b53d729875d1dc958f32a17bb19a5 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Sat, 8 Aug 2020 20:54:48 +0200 Subject: [PATCH] Clarified docker-compose in readme --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2906917c..fc8eb9aa 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,7 @@ The Engelsystem can now be used. * Both Apache and Nginx allow for different VirtualHost configurations. ### Docker +#### Build To build the `es_nginx` and the `es_php_fpm` containers: ```bash cd docker @@ -64,7 +65,15 @@ docker build -f docker/nginx/Dockerfile . -t es_nginx 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 docker exec -it engelsystem_es_php_fpm_1 bin/migrate ```