Skip to content

Commit

Permalink
Merge pull request #1 from discorgento/feat-update-to-docker-compose-2
Browse files Browse the repository at this point in the history
update commands to use Compose V2
  • Loading branch information
CoutoDev committed May 13, 2023
2 parents 5e0a706 + 652cb76 commit 0bfade0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# 🏴‍☠️DevEnvDevilbox Ubuntu 22.04

> ⚠️ **Your docker should be updated with Compose V2 so that ours aliases work. [Check it out on how to migrate if you need!](https://docs.docker.com/compose/migrate/)**
Optimizing development environment for magento 2 with devilbox

- aliases
Expand Down
6 changes: 3 additions & 3 deletions devilbox/.aliases
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# configs aliases
alias aliasconf='nano ~/.aliases'
# Devilbox
alias dup='cd ~/devilbox && docker-compose up -d httpd php mysql bind redis elastic && ./shell.sh'
alias ddown='cd ~/devilbox && docker-compose stop && docker-compose rm -f && docker-compose down'
alias dr='cd ~/devilbox && docker-compose stop && docker-compose rm -f && docker-compose up -d httpd php mysql bind redis elastic && ./shell.sh'
alias dup='cd ~/devilbox && docker compose up -d httpd php mysql bind redis elastic && ./shell.sh'
alias ddown='cd ~/devilbox && docker compose stop && docker compose rm -f && docker compose down'
alias dr='cd ~/devilbox && docker compose stop && docker compose rm -f && docker compose up -d httpd php mysql bind redis elastic && ./shell.sh'
alias denv='cd ~/devilbox && ./shell.sh'
alias xe="cd ~/devilbox && sed -i '/PHP_MODULES_DISABLE/s/xdebug/xdxe/g' .env && dr"
alias xd="cd ~/devilbox && sed -i '/PHP_MODULES_DISABLE/s/xdxe/xdebug/g' .env && dr"
Expand Down
4 changes: 2 additions & 2 deletions devilbox/.env
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,9 @@ DEVILBOX_VENDOR_PHPPGADMIN_AUTOLOGIN=1
#PHP_SERVER=7.1
#PHP_SERVER=7.2
#PHP_SERVER=7.3
PHP_SERVER=7.4
#PHP_SERVER=7.4
#PHP_SERVER=8.0
#PHP_SERVER=8.1
PHP_SERVER=8.1
#PHP_SERVER=8.2


Expand Down

0 comments on commit 0bfade0

Please sign in to comment.