Skip to content

Commit

Permalink
fix: adjust user that runs install and setup commands [#1]
Browse files Browse the repository at this point in the history
  • Loading branch information
d3p1 committed Dec 11, 2024
1 parent 291634d commit a7057f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bin/lib/mage-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ _install_magento_platform() {
##
print_message "Start Magento installation" "notice"
docker compose up -d
docker compose run --rm cli init 1
docker compose run --rm --user=www cli init 1
print_message "End Magento installation" "notice"
}

Expand Down
2 changes: 1 addition & 1 deletion src/bin/lib/mage-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ _setup_magento_platform() {
print_message "Start Magento setup" "notice"
docker compose up -d
_migrate_db "$SCRIPT_DB_DUMP"
docker compose run --rm cli init 0
docker compose run --rm --user=www cli init 0
print_message "End Magento setup" "notice"
}

Expand Down

0 comments on commit a7057f3

Please sign in to comment.