add docker container for development environmet

This commit is contained in:
2018-02-06 08:06:43 +01:00
parent ee58366748
commit acb5b040c5
7 changed files with 140 additions and 0 deletions

13
docker/start.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
PROJECT_DIR=$(pwd)/..
docker run \
-v ${PROJECT_DIR}:/var/www/html/fitness_web \
--rm \
-d \
-p 86:80 \
--name fitness-web \
--hostname test.fintess_web.hu \
-e XDEBUG_CONFIG="idekey=PHPSTORM" \
docker_fitness-ub-php-7:latest