Skip to content

Commit 7b807ac

Browse files
committed
Fix docker restart policy; Fix bootstrap string comparisions;
1 parent 2bfbb23 commit 7b807ac

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

bootstrap_theme.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ read_name () {
1313
name_validation () {
1414
echo "Proceed with bootstraping underscores theme with "$(tput bold)$theme_name$(tput sgr0)" as name? [S/n]"
1515
read agreement
16-
if [ -z "$agreement" ] || [ "$agreement" -eq "s" ] || [ "$agreement" -eq "S" ]; then
16+
if [ -z "$agreement" ] || [ "$agreement" = "s" ] || [ "$agreement" = "S" ]; then
1717
echo "Initializing theme"
1818
else
1919
echo "Bye bye"

docker-compose.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@ version: "3.9"
22
services:
33
wp:
44
image: wordpress
5-
restart: unless-stopped
65
hostname: wordpress
76
ports:
87
- "80:80"
98
- "443:443"
109
volumes:
11-
- ./src:/var/www/html/wp-content/themes/theme_name
10+
- ./src:/var/www/html/wp-content/themes/test
1211
- /var/log:/var/log
1312
links:
1413
- db
@@ -23,7 +22,6 @@ services:
2322
WORDPRESS_DEBUG: 1
2423
db:
2524
image: mariadb
26-
restart: unless-stopped
2725
hostname: mariadb
2826
ports:
2927
- "3306:3306"

0 commit comments

Comments
 (0)