We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1231550 commit c115e23Copy full SHA for c115e23
1 file changed
deps/compose.template
@@ -114,7 +114,12 @@ services:
114
depends_on:
115
bootstrapper_l2:
116
condition: service_completed_successfully
117
- entrypoint: [ "bash", "-c", "mongosh --host mongodb --eval 'load(\"/init.js\")'" ]
+ entrypoint: entrypoint: [ "bash", "-c", "
118
+ echo 'Checking init script...';
119
+ ls -l /init.js || echo 'File not found';
120
+ cat /init.js || echo 'Cannot read file';
121
+ mongosh --host mongodb --eval 'load(\"/init.js\")';
122
+ " ]
123
volumes:
124
- ./block_zero_workaround.js:/init.js
125
0 commit comments