docker-compose for development
This commit is contained in:
20
docker/fitness/service/start2.sh
Normal file
20
docker/fitness/service/start2.sh
Normal 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" \
|
||||
rocho02.ddns.net/admin/cutlergyor
|
||||
|
||||
echo "started http://"${HOST}:${PORT}
|
||||
Reference in New Issue
Block a user