Skip to content

Commit eae79bf

Browse files
committed
Pin versions in local Docker environment files.
1 parent f2b839f commit eae79bf

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ LOCAL_PORT=8889
1515
LOCAL_DIR=src
1616

1717
# The PHP version to use. Valid options are 'latest', and '{version}-fpm'.
18-
LOCAL_PHP=latest
18+
LOCAL_PHP=8.5-fpm
1919

2020
# Whether or not to enable Xdebug.
2121
LOCAL_PHP_XDEBUG=false

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ services:
3232
# The PHP container.
3333
##
3434
php:
35-
image: wordpressdevelop/php:${LOCAL_PHP-latest}
35+
image: wordpressdevelop/php:${LOCAL_PHP-8.5-fpm}
3636

3737
networks:
3838
- wpdevnet
@@ -64,7 +64,7 @@ services:
6464
# The MySQL container.
6565
##
6666
mysql:
67-
image: ${LOCAL_DB_TYPE-mysql}:${LOCAL_DB_VERSION-latest}
67+
image: ${LOCAL_DB_TYPE-mysql}:${LOCAL_DB_VERSION-8.4}
6868

6969
networks:
7070
- wpdevnet
@@ -92,7 +92,7 @@ services:
9292
# The WP CLI container.
9393
##
9494
cli:
95-
image: wordpressdevelop/cli:${LOCAL_PHP-latest}
95+
image: wordpressdevelop/cli:${LOCAL_PHP-8.5-fpm}
9696

9797
networks:
9898
- wpdevnet

0 commit comments

Comments
 (0)