File tree 4 files changed +13
-3
lines changed
docker-config/php-prod-craft
4 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 1
1
# nystudio107/devmode Change Log
2
2
3
+ ## 2.5.8 - 2022.04.08
4
+ ### Changed
5
+ * Run migrations first via ` composer.json ` scripts, because Craft won't apply Project Config if there are pending migrations
6
+ * Added ` tty: true ` back in now that the issue has been fixed in the Docker Compose API ` 2.4.1 ` ([ #9348 ] ( https://github.com/docker/compose/pull/9348 ) )
7
+ * Wait for both ` vendor/autoload.php ` as we as ` composer.lock ` before starting up the queue listener
8
+
3
9
## 2.5.7 - 2022.04.06
4
10
### Changed
5
11
* Updated to latest ` composer.json ` and ` package.json ` deps
Original file line number Diff line number Diff line change 68
68
"post-craft-update" : [
69
69
" Composer\\ Config::disableProcessTimeout" ,
70
70
" @php craft install/check && php craft clear-caches/all --interactive=0 || exit 0" ,
71
- " @php craft install/check && php craft project-config/apply --interactive=0 || exit 0" ,
72
- " @php craft install/check && php craft migrate/all --interactive=0 || exit 0"
71
+ " @php craft install/check && php craft migrate/all --interactive=0 || exit 0" ,
72
+ " @php craft install/check && php craft project-config/apply --interactive=0 || exit 0"
73
73
],
74
74
"post-root-package-install" : [
75
75
" @php -r \" file_exists('.env') || copy('.env.example', '.env');\" "
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ services:
27
27
expose :
28
28
- " 9000"
29
29
init : true
30
+ tty : true
30
31
volumes : &php-volumes
31
32
- cpresources:/var/www/project/cms/web/cpresources:delegated
32
33
- storage:/var/www/project/cms/storage:delegated
@@ -48,6 +49,7 @@ services:
48
49
expose :
49
50
- " 9000"
50
51
init : true
52
+ tty : true
51
53
volumes :
52
54
*php-volumes
53
55
# postgres - database
@@ -77,6 +79,7 @@ services:
77
79
env_file :
78
80
*env
79
81
init : true
82
+ tty : true
80
83
volumes :
81
84
*php-volumes
82
85
# redis - key/value database for caching & php sessions
@@ -97,6 +100,7 @@ services:
97
100
init : true
98
101
ports :
99
102
- " 3000:3000"
103
+ tty : true
100
104
volumes :
101
105
- ./buildchain:/var/www/project/buildchain:cached
102
106
- ./buildchain/node_modules:/var/www/project/buildchain/node_modules:delegated
Original file line number Diff line number Diff line change 21
21
done
22
22
# Wait until the `composer install` is done by looking for the `vendor/autoload.php` file
23
23
echo " ### Waiting for vendor/autoload.php"
24
- while [ ! -f vendor/autoload.php ]
24
+ while [ ! -f vendor/autoload.php ] || [ ! -f composer.lock ]
25
25
do
26
26
sleep 1
27
27
done
You can’t perform that action at this time.
0 commit comments