diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2019-10-11 22:56:38 +0200 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2019-10-11 22:56:38 +0200 |
commit | 91eae7d067be09d0aa6af3dd617a7aff4a66a9bb (patch) | |
tree | f982696b47d7fcfeca97ac81ccfa82d49b6c31ba /README.md | |
parent | 503c479e8648050cec52510be5b49bbeb8fcc7ca (diff) |
docker-compose: Set mariadb version and added local dev env to readme
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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. |