We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2a1bc0e + 1101ef1 commit 93c4763Copy full SHA for 93c4763
php/EE/Migration/GlobalContainers.php
@@ -124,8 +124,13 @@ public static function global_service_down( $service_name ) {
124
* @return array
125
*/
126
public static function get_all_global_images_with_service_name() {
127
+
128
+ $launch = EE::launch( sprintf( 'docker ps -f "id=%s" --format={{.Names}}', EE_PROXY_TYPE ) );
129
+ if ( 0 === $launch->return_code ) {
130
+ $nginx_proxy = trim( $launch->stdout );
131
+ }
132
return [
- 'easyengine/nginx-proxy' => EE_PROXY_TYPE,
133
+ 'easyengine/nginx-proxy' => $nginx_proxy,
134
'easyengine/mariadb' => GLOBAL_DB_CONTAINER,
135
'easyengine/redis' => GLOBAL_REDIS_CONTAINER,
136
// 'easyengine/cron' => EE_CRON_SCHEDULER, //TODO: Add it to global docker-compose.
0 commit comments