changed composer to add build on the serve-dev and serve command; also added echo for apache container, to print the url to the local server
This commit is contained in:
parent
cfdd150ca0
commit
9b726872e6
@ -18,11 +18,10 @@
|
||||
"require": {},
|
||||
"scripts": {
|
||||
"setup": "php public/index.php run:setup",
|
||||
"docker-dev-init": "docker-compose build --build-arg INSTALL_XDEBUG=true",
|
||||
"serve-dev": "docker-compose up -d",
|
||||
"serve-dev": "docker-compose up -d --build",
|
||||
"stop-serve-dev": "docker-compose down",
|
||||
"docker-init": "docker-compose build --build-arg INSTALL_XDEBUG=false",
|
||||
"serve": "docker-compose up -d",
|
||||
"stop-serve": "docker-compose down"
|
||||
"serve": "docker-compose up -d --build",
|
||||
"stop-serve": "docker-compose down",
|
||||
"open-brower": "open http://localhost:8000"
|
||||
}
|
||||
}
|
||||
|
@ -13,5 +13,7 @@ echo 'LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so' >> /usr/local/apac
|
||||
echo '🔧 Aktiviere vhost.conf...'
|
||||
echo 'Include conf/extra/vhost.conf' >> /usr/local/apache2/conf/httpd.conf
|
||||
|
||||
echo '🌐 open http://localhost:8000 in your browser'
|
||||
|
||||
echo "✅ Starte Apache im Vordergrund..."
|
||||
exec httpd-foreground
|
Loading…
x
Reference in New Issue
Block a user