summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-10-11 22:56:38 +0200
committermsquare <msquare@notrademark.de>2019-10-13 13:16:23 +0200
commit7a2427e70296ef652f76fe2e2edc47d2e0f70f5a (patch)
tree7e98447e4c7d874ec27e26801771086843f3efc3 /README.md
parent75f04507aedc6cea020da93fc579351cfb0f4f2c (diff)
docker-compose: Set mariadb version and added local dev env to readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
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.