summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-10-11 22:56:38 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2019-10-11 22:56:38 +0200
commit91eae7d067be09d0aa6af3dd617a7aff4a66a9bb (patch)
treef982696b47d7fcfeca97ac81ccfa82d49b6c31ba /README.md
parent503c479e8648050cec52510be5b49bbeb8fcc7ca (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 02508157..5cf9f652 100644
--- a/README.md
+++ b/README.md
@@ -127,6 +127,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.