You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2024/05/01 01:46:25 UTC

(superset) branch silence_docker_compose created (now 200e488bc4)

This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a change to branch silence_docker_compose
in repository https://gitbox.apache.org/repos/asf/superset.git


      at 200e488bc4 fix: silence docker-compose useless warnings

This branch includes the following new commits:

     new 200e488bc4 fix: silence docker-compose useless warnings

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(superset) 01/01: fix: silence docker-compose useless warnings

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch silence_docker_compose
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 200e488bc4438fc5752da2203ecb8344a5be7855
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Tue Apr 30 18:44:52 2024 -0700

    fix: silence docker-compose useless warnings
    
    When firing up docker-compose, 3 warning message are shown that are not
    useful / necessary
---
 docker-compose.yml | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/docker-compose.yml b/docker-compose.yml
index 18622eb0ad..7c5f29f518 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -39,7 +39,6 @@ x-common-build: &common-build
   cache_from:
     - apache/superset-cache:3.10-slim-bookworm
 
-version: "4.0"
 services:
   nginx:
     image: nginx:latest
@@ -94,7 +93,7 @@ services:
     depends_on: *superset-depends-on
     volumes: *superset-volumes
     environment:
-      CYPRESS_CONFIG: "${CYPRESS_CONFIG}"
+      CYPRESS_CONFIG: "${CYPRESS_CONFIG:-}"
 
   superset-websocket:
     container_name: superset_websocket
@@ -144,7 +143,7 @@ services:
     user: *superset-user
     volumes: *superset-volumes
     environment:
-      CYPRESS_CONFIG: "${CYPRESS_CONFIG}"
+      CYPRESS_CONFIG: "${CYPRESS_CONFIG:-}"
     healthcheck:
       disable: true
 
@@ -153,7 +152,7 @@ services:
     environment:
       # set this to false if you have perf issues running the npm i; npm run dev in-docker
       # if you do so, you have to run this manually on the host, which should perform better!
-      SCARF_ANALYTICS: "${SCARF_ANALYTICS}"
+      SCARF_ANALYTICS: "${SCARF_ANALYTICS:-}"
     container_name: superset_node
     command: ["/app/docker/docker-frontend.sh"]
     env_file: