File tree 4 files changed +6
-9
lines changed
4 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 1
1
#! /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"
3
3
4
4
5
5
Original file line number Diff line number Diff line change 1
1
#! /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 1
1
#! /usr/bin/env bash
2
- docker- compose -f $DOCKER_FILE down
2
+ docker compose -f $DOCKER_FILE down
3
3
docker volume prune --force
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
- docker- compose -f $DOCKER_FILE up -d
3
+ docker compose -f $DOCKER_FILE up -d
4
4
# 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
6
6
echo " Waiting for db to be ready... "
7
7
sleep 1
8
8
done
9
9
# 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