docker-compose for development

This commit is contained in:
2022-09-20 20:08:43 +02:00
parent 1101f34164
commit ae0b27a1bf
183 changed files with 2260 additions and 19 deletions

View File

@@ -0,0 +1,20 @@
#!/usr/bin/env bash
PROJECT_DIR=$(pwd)/..
PORT=86
HOST=localhost
docker container stop fitness-web || true
docker run \
-v ${PROJECT_DIR}:/var/www/html/fitness_web \
--rm \
-d \
-p ${PORT}:80 \
--name fitness-web \
--hostname test.fintess_web.hu \
--link mariadb1:mariadb1 \
-e XDEBUG_CONFIG="idekey=PHPSTORM" \
docker_fitness-ub-php-7:latest
echo "started http://"${HOST}:${PORT}