diff --git a/compose.yaml b/compose.yaml index 0871cf0..5bcf788 100644 --- a/compose.yaml +++ b/compose.yaml @@ -101,6 +101,8 @@ services: volumes: - superset_home:/app/superset_home - ./superset_config.py:/app/pythonpath/superset_config.py:Z + networks: + - caddy_net command: > sh -c " superset db upgrade && @@ -120,6 +122,8 @@ services: - /dev/urandom:/dev/random:ro ports: - "3000:3000" + networks: + - caddy_net environment: MB_DB_TYPE: postgres MB_DB_HOST: ${MB_DB_HOST:-database} @@ -246,6 +250,8 @@ services: ] ports: - 3006:5000 + networks: + - caddy_net environment: - PGHOST=${POSTGRAPHILE_HOST:-postgresql} - PGPORT=${POSTGRAPHILE_DB_PORT:-5432} @@ -275,6 +281,8 @@ services: command: postgrest ports: - 3005:3005 + networks: + - caddy_net environment: PGRST_DB_URI: postgres://${POSTGREST_USER:-postgrest}:9012@${POSTGREST_HOST:-database}:${POSTGREST_DB_PORT:-5432}/${COMPOSE_PROJECT_NAME} PGRST_DB_SCHEMAS: ${POSTGREST_DB_SCHEMAS:-public} @@ -290,6 +298,8 @@ services: ports: - "8080:8080" restart: "no" + networks: + - caddy_net environment: API_REFERENCE_CONFIG: | {