From 7a2427e70296ef652f76fe2e2edc47d2e0f70f5a Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Fri, 11 Oct 2019 22:56:38 +0200 Subject: docker-compose: Set mariadb version and added local dev env to readme --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 594011b7..9b4a3aaf 100644 --- a/README.md +++ b/README.md @@ -132,6 +132,20 @@ Import database docker exec -it engelsystem bin/migrate ``` +#### Local development +To use the working directory in the container the docker-compose file has to be changed: +```yaml +[...] + nginx: + volumes: + - ../public/assets:/var/www/public/assets +[...] + engelsystem: + volumes: + - ../:/var/www +[...] +``` + #### Scripts ##### bin/deploy.sh The `bin/deploy.sh` script can be used to deploy the engelsystem. It uses rsync to deploy the application to a server over ssh. -- cgit v1.2.3-54-g00ecf