Last active
May 4, 2023 10:58
-
-
Save marcandreappel/a51f5fcdbe437d9cad0e4fee05e798d0 to your computer and use it in GitHub Desktop.
Devilbox start & restart script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# See here first: https://github.com/marcandreappel/xdebug-devilbox-phpstorm-postman | |
cd /home/$USER/.devilbox/ | |
docker-compose stop | |
docker-compose rm -f | |
docker-compose pull | |
sudo systemctl stop systemd-resolved.service | |
docker-compose up -d mysql httpd php | |
sudo systemctl start systemd-resolved.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment