File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2- docker- compose -f $DOCKER_FILE run --rm -u root cli bash -c " wp --allow-root plugin deactivate classic-editor"
2+ docker compose -f $DOCKER_FILE run --rm -u root cli bash -c " wp --allow-root plugin deactivate classic-editor"
33
44
55
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2- docker- compose -f $DOCKER_FILE run --rm -u root cli bash -c " wp --allow-root plugin deactivate classic-editor"
2+ docker compose -f $DOCKER_FILE run --rm -u root cli bash -c " wp --allow-root plugin deactivate classic-editor"
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2- docker- compose -f $DOCKER_FILE down
2+ docker compose -f $DOCKER_FILE down
33docker volume prune --force
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- docker- compose -f $DOCKER_FILE up -d
3+ docker compose -f $DOCKER_FILE up -d
44# Wait for mysql container to be ready.
5- while docker- compose -f $DOCKER_FILE run --rm -u root cli wp --allow-root db check ; [ $? -ne 0 ]; do
5+ while docker compose -f $DOCKER_FILE run --rm -u root cli wp --allow-root db check ; [ $? -ne 0 ]; do
66 echo " Waiting for db to be ready... "
77 sleep 1
88done
99# install WP
10- docker-compose -f $DOCKER_FILE run --rm -u root cli bash -c " /var/www/html/bin/cli-setup.sh"
11-
12-
13-
10+ docker compose -f $DOCKER_FILE run --rm -u root cli bash -c " /var/www/html/bin/cli-setup.sh"
You can’t perform that action at this time.
0 commit comments