File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ trap '_es=${?};
15
15
printf " exited with a status of ${_es}\n";
16
16
exit ${_es}' ERR
17
17
18
- DOCKER_WP_DIR=/var/www/html
18
+ DOCKER_WP_DIR=/var/www/index
19
19
DOCKER_WP_URL=http://localhost:8080
20
20
# https://en.wikipedia.org/wiki/ANSI_escape_code
21
21
E0=" $( printf " \e[0m" ) " # reset
@@ -348,7 +348,7 @@ script_setup() {
348
348
error_exit ' docker daemon is not running'
349
349
fi
350
350
# Ensure services are running
351
- for _service in index-web index-wpdb
351
+ for _service in index-web index-db
352
352
do
353
353
if ! docker compose exec " ${_service} " true 2> /dev/null
354
354
then
@@ -525,7 +525,7 @@ wpcli() {
525
525
case " ${SCRIPT_ENV} " in
526
526
' docker' )
527
527
# Call WP-CLI with appropriate site arguments via Docker
528
- docker compose exec index-wpcli \
528
+ docker compose exec index-web \
529
529
/usr/local/bin/wp \
530
530
--path=" ${DOCKER_WP_DIR} " \
531
531
--url=" ${DOCKER_WP_URL} " \
You can’t perform that action at this time.
0 commit comments